Function at 0x40a600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a0212
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4c2c40]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2c40]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov edi, dword [esp + 0x124]
mov ebp, dword [esp + 0x128]
mov eax, dword [esp + 0x12c]
xor ebx, ebx
mov esi, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x11c], ebx
call fcn.0043d1a0
mov eax, dword [esi + 0x6c]
mov eax, dword [eax]
push esi
push eax
lea edx, [esp + 0xb0]
mov ecx, edi
call fcn.00421fc0
cmp eax, 2
jne 0x40a6d3
cmp dword [esp + 0xc0], 8
jb 0x40a6c9
mov edx, dword [esp + 0xac]
push edx
call fcn.0045a870
add esp, 4
mov eax, 7
jmp 0x40ae8c
cmp eax, 1
jne 0x40a6fc
cmp dword [esp + 0xc0], 8
jb 0x40a6f2
mov eax, dword [esp + 0xac]
push eax
call fcn.0045a870
add esp, 4
mov eax, 8
jmp 0x40ae8c
mov eax, dword [esi + 0x20]
cmp eax, 2
je 0x40a712
cmp eax, 9
je 0x40a712
cmp eax, 0xa
jne 0x40ab3d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x14]
push 0x4a9ce0
mov edi, 0x13
call fcn.0040e760
test eax, eax
je 0x40ab3d
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edi, 7
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x120], 2
mov eax, dword [esi + 0x5c]
push ebp
push eax
lea edx, [esp + 0x3c]
mov ecx, esi
call fcn.0040f610
add esp, 0xc
cmp dword [esp + 0x30], 1
mov byte [esp + 0x2b], al
jne 0x40a7a1
lea ecx, [esp + 0x54]
call fcn.00401620
lea ebx, [esp + 0x18]
call fcn.0040e2c0
lea ecx, [esp + 0xa8]
call fcn.00401620
mov eax, 2
jmp 0x40ae8c
lea ecx, [esp + 0x18]
call fcn.0040e330
test al, al
jne 0x40ab0a
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
mov byte [esp + 0x11c], 3
mov ecx, dword [esi + 0x5c]
lea edi, [esp + 0x70]
mov edx, ebp
call fcn.00413000
xor ebp, ebp
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40aaee
mov edi, dword [esp + 0x20]
mov ecx, edi
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x40aaee
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
cmp dword [esi + ecx + 0x30], ebx
mov byte [esp + 0x30], bl
je 0x40a827
mov byte [esp + 0x30], 1
cmp ecx, ebx
je 0x40a844
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x40a84d
call fcn.00478a25
mov ecx, dword [esp + 0x1c]
cmp dword [esi + ecx + 0x4c], ebx
mov edi, ebp
lea esi, [esp + 0x18]
je 0x40a870
call fcn.0040e370
lea edx, [esp + 0x70]
lea ecx, [eax + 0x54]
push edx
call fcn.0040f500
add esp, 4
jmp 0x40a88a
call fcn.0040e370
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x74]
lea ecx, [eax + 0x54]
push edx
call fcn.0040f400
add esp, 8
cmp eax, 1
jne 0x40a8fc
mov edi, ebp
lea esi, [esp + 0x18]
call fcn.0040e370
add eax, 0x1c
push eax
call fcn.004339a0
add esp, 4
cmp al, bl
jne 0x40a901
push 3
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xcc]
push ecx
mov edi, 0x9c
call fcn.0041aa70
lea eax, [esp + 0xc4]
mov byte [esp + 0x11c], 4
call fcn.0041a5b0
lea esi, [esp + 0xc4]
mov byte [esp + 0x11c], 3
call fcn.0044b2d0
mov esi, dword [esp + 0x48]
add ebp, 1
add dword [esp + 0x44], 0x70
jmp 0x40a7e1
cmp eax, 2
je 0x40a912
mov esi, dword [esp + 0x48]
add ebp, 1
add dword [esp + 0x44], 0x70
jmp 0x40a7e1
lea edx, [esp + 0xc4]
push edx
call fcn.0041a9a0
mov edi, ebp
lea esi, [esp + 0x18]
mov byte [esp + 0x11c], 5
call fcn.0040e370
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x70]
push ecx
add eax, 0x38
push eax
lea ecx, [esp + 0xcc]
call fcn.0040bc90
cmp eax, 1
je 0x40a999
lea eax, [esp + 0xc4]
call fcn.0041a5b0
lea esi, [esp + 0xc4]
call fcn.0044b2d0
lea ecx, [esp + 0x70]
call fcn.00401620
lea ecx, [esp + 0x54]
call fcn.00401620
lea ebx, [esp + 0x18]
call fcn.0040e2c0
lea ecx, [esp + 0xa8]
call fcn.00401620
mov eax, 4
jmp 0x40ae8c
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
push ebx
add edi, 0x40
push edi
or eax, 0xffffffff
lea esi, [esp + 0x94]
mov byte [esp + 0x124], 6
call fcn.004036a0
mov edx, esi
push edx
mov edx, 0x4a9c18
call fcn.004035a0
mov edi, ebp
lea esi, [esp + 0x18]
call fcn.0040e370
add eax, 0x38
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x94]
call fcn.004036a0
mov eax, esi
push eax
mov edx, 0x4a9c18
call fcn.004035a0
lea esi, [esp + 0x18]
call fcn.0040e370
add eax, 0x38
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x94]
call fcn.004036a0
mov ecx, esi
push ecx
mov edx, 0x4a9c18
call fcn.004035a0
lea esi, [esp + 0x18]
call fcn.0040e370
add eax, 0x38
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x94]
call fcn.004036a0
mov edx, esi
push edx
mov edx, str..exe
call fcn.004035a0
push 0x5c
push 0x2f
mov edi, esi
call fcn.00404060
add esp, 8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea ebx, [esp + 0x34]
mov ecx, esi
mov byte [esp + 0x11c], 7
call fcn.0043c490
test al, al
mov esi, ebx
jne 0x40aaa0
call fcn.004019a0
mov ecx, edi
call fcn.00401620
jmp 0x40a95c
call fcn.004019a0
lea ecx, [esp + 0x8c]
call fcn.00401620
lea esi, [esp + 0xc4]
call fcn.0044b2d0
lea ecx, [esp + 0x70]
call fcn.00401620
lea ecx, [esp + 0x54]
call fcn.00401620
lea ebx, [esp + 0x18]
call fcn.0040e2c0
lea ecx, [esp + 0xa8]
call fcn.00401620
mov eax, 3
jmp 0x40ae8c
lea ecx, [esp + 0x70]
call fcn.00401620
cmp byte [esp + 0x2b], bl
je 0x40a971
mov ebp, dword [esp + 0x50]
mov edi, 7
cmp dword [esp + 0x6c], 8
jb 0x40ab1e
mov eax, dword [esp + 0x58]
push eax
call fcn.0045a870
add esp, 4
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov byte [esp + 0x11c], bl
lea ebx, [esp + 0x18]
mov dword [esp + 0x6c], edi
call fcn.0040e2c0
xor ebx, ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x38]
push esi
push ebp
push edx
push eax
push ecx
lea edx, [esi + 0x100]
lea edi, [esi + 0x80]
push edx
mov eax, edi
call fcn.0041ac70
add esp, 0x1c
cmp dword [esp + 0x34], 3
je 0x40ab95
cmp dword [esp + 0xc0], 8
jb 0x40ab8b
mov eax, dword [esp + 0xac]
push eax
call fcn.0045a870
add esp, 4
mov eax, 9
jmp 0x40ae8c
mov ecx, edi
call fcn.0040e200
test al, al
je 0x40ac35
mov edx, 0x4a9464
lea eax, [esp + 0x8c]
call fcn.004015e0
mov edx, str.SETDIFF_NOT_FOUND
lea eax, [esp + 0x70]
mov byte [esp + 0x11c], 8
call fcn.004015e0
mov edx, 0x4a947c
lea eax, [esp + 0x54]
mov byte [esp + 0x11c], 9
call fcn.004015e0
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x90]
lea edx, [esp + 0x58]
mov byte [esp + 0x120], 0xa
call fcn.004323e0
add esp, 4
lea ecx, [esp + 0x54]
call fcn.00401620
lea ecx, [esp + 0x70]
call fcn.00401620
lea ecx, [esp + 0x8c]
call fcn.00401620
lea ecx, [esp + 0xa8]
call fcn.00401620
mov eax, 2
jmp 0x40ae8c
lea ebp, [esi + 0x104]
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
mov dword [esp + 0x2c], ebp
jbe 0x40ac4c
call fcn.00478a25
mov dword [esp + 0x38], esi
mov esi, dword [ebp + 8]
cmp dword [ebp + 4], esi
jbe 0x40ac5d
call fcn.00478a25
cmp ebp, ebp
je 0x40ac66
call fcn.00478a25
cmp dword [esp + 0x38], esi
je 0x40ae7b
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x11c], 0xb
push 1
push 0x4a9464
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.00401c20
mov edx, esi
push edx
lea esi, [esp + 0x1c]
mov byte [esp + 0x120], 0xc
call fcn.00401650
mov edi, 8
mov byte [esp + 0x11c], 0xb
cmp dword [esp + 0x6c], edi
jb 0x40acd9
mov eax, dword [esp + 0x58]
push eax
call fcn.0045a870
add esp, 4
mov esi, dword [esp + 0x38]
cmp esi, dword [ebp + 8]
jb 0x40ace7
call fcn.00478a25
mov ecx, dword [esi + 4]
add ecx, 0x1c
push ecx
lea esi, [esp + 0x1c]
call fcn.00401650
mov ebp, 7
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
mov edx, esi
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x120], 0xd
call fcn.00431350
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0x124], 0xe
call fcn.00401b70
mov byte [esp + 0x11c], 0xd
cmp dword [esp + 0x6c], edi
jb 0x40ad55
mov eax, dword [esp + 0x58]
push eax
call fcn.0045a870
add esp, 4
push 0xd
push str.SETDIFF_FOUND
lea esi, [esp + 0x94]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
call fcn.00401c20
mov byte [esp + 0x11c], 0xf
push 2
push 0x4a947c
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.00401c20
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x74]
mov edx, esi
mov byte [esp + 0x120], 0x10
call fcn.004323e0
add esp, 4
cmp dword [esp + 0x6c], edi
jb 0x40add4
mov edx, dword [esp + 0x58]
push edx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0xa4], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x40adfa
mov eax, dword [esp + 0x90]
push eax
call fcn.0045a870
add esp, 4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
cmp edx, dword [ecx + 8]
jb 0x40ae0c
call fcn.00478a25
add dword [esp + 0x38], edi
cmp dword [esp + 0x88], edi
jb 0x40ae26
mov eax, dword [esp + 0x74]
push eax
call fcn.0045a870
add esp, 4
mov byte [esp + 0x11c], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
je 0x40ae66
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
push ecx
call fcn.00402640
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.0045a870
add esp, 4
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp 0x40ac50
lea ecx, [esp + 0xa8]
call fcn.00401620
mov eax, 1
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.00478599
add esp, 0x10c
ret 0xc