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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x6071d4]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, edx
mov dword [esp], ecx
push ebx
push esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [eax], 0
call fcn.0049df70
test eax, eax
jne 0x4a1922
mov ebx, dword [ebp + 8]
cmp byte [0x608a34], al
jne 0x4a1482
xor edi, edi
jmp 0x4a14a2
test ebx, 0x8000
je 0x4a148e
xor edi, edi
jmp 0x4a14a2
mov edi, 1
test ebx, 0x10000
jne 0x4a14a2
movzx edi, byte [0x608a35]
test ebx, 0x40000
je 0x4a14b2
and ebx, 0xfffdffff
jmp 0x4a14c1
cmp dword [0x608af8], 0
je 0x4a14c1
or ebx, 0x20000
push 0
and ebx, 0xfff600e7
push 0x218
mov dword [ebp + 8], ebx
call fcn.00405bc0
mov esi, eax
add esp, 8
test esi, esi
je 0x4a18cf
push 0x218
push 0
push esi
call fcn.0056a7a0
add esp, 0xc
test esi, esi
je 0x4a18cf
test edi, edi
je 0x4a1538
cmp byte [0x608a34], 0
jne 0x4a150c
xor eax, eax
jmp 0x4a1521
mov edi, dword [0x608a78]
mov ecx, edi
push 1
call dword [0x5a143c]
call edi
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4a1538
push esi
call fcn.00405e00
add esp, 4
xor esi, esi
jmp 0x4a18cf
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4a1553
mov edi, dword [0x608a80]
mov ecx, edi
push eax
call dword [0x5a143c]
call edi
add esp, 4
mov eax, ebx
mov dword [esi + 0x14], 2
and eax, 0x2000000
mov byte [esi + 0x61], 0x6d
neg eax
mov dword [esi + 0x130], 1
push 0
sbb eax, eax
mov edx, str.BINARY
and eax, 0xffffff00
mov ecx, esi
add eax, 0xff
mov dword [esi + 0x48], eax
lea eax, [esi + 0x1cc]
mov dword [esi + 0x10], eax
xor eax, eax
mov word [esi + 0x134], ax
movups xmm0, xmmword [0x5da87c]
push fcn.0049eb60
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x5da88c]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x5da89c]
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
mov eax, dword [0x608ad8]
mov dword [esi + 0x30], eax
mov eax, dword [0x608adc]
or dword [esi + 0x20], 0xe00480e0
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x64], 0
mov dword [esi + 0xb8], 0x608a18
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x190], 0
call fcn.004a0ae0
push 0
push fcn.0049eb60
push 0
push 3
mov edx, str.BINARY
mov ecx, esi
call fcn.004a0ae0
push 0
push fcn.0049eb60
push 0
push 2
mov edx, str.BINARY
mov ecx, esi
call fcn.004a0ae0
push 0
push 0x49ec30
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.004a0ae0
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x49ebe0
push 0
push 1
call fcn.004a0ae0
add esp, 0x10
cmp byte [esi + 0x57], 0
jne 0x4a18b4
mov ecx, ebx
mov dword [esi + 0x3c], ebx
and ecx, 7
mov eax, 1
shl eax, cl
test al, 0x46
jne 0x4a16e7
mov ecx, 0x2c339
call fcn.004a1fc0
jmp 0x4a1708
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.004a0d30
mov ebx, dword [ebp + 8]
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
je 0x4a1743
cmp eax, 7
jne 0x4a171c
mov ecx, esi
call fcn.00406650
mov edi, dword [esp + 0x14]
xor ecx, ecx
test edi, edi
mov eax, 0x5d3a6c
push edi
cmove eax, ecx
push eax
push dword [esp + 0x14]
push esi
call fcn.004098d0
push edi
call fcn.00405e00
jmp 0x4a18b1
mov eax, dword [esi + 0x10]
or ebx, 0x100
mov edx, dword [esp + 0x10]
add eax, 4
mov ecx, dword [esi]
push ebx
push 0
push eax
push esi
call fcn.0041f800
add esp, 0x10
test eax, eax
je 0x4a1781
cmp eax, 0xc0a
mov ecx, 7
cmove eax, ecx
mov ecx, esi
mov edx, eax
call fcn.004097c0
jmp 0x4a18b4
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 4]
call fcn.0041d650
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.0045b4e0
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x4a17b5
mov eax, dword [esi + 0x10]
mov ecx, esi
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x4d]
call fcn.0045ade0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4a17cc
add dword [ecx + 0xc], 0xffffffff
jne 0x4a17cc
call fcn.0041d600
xor edx, edx
mov ecx, esi
call fcn.0045b4e0
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [eax], str.main
mov eax, dword [esi + 0x10]
mov byte [eax + 8], 3
mov eax, dword [esi + 0x10]
mov dword [eax + 0x10], str.temp
mov eax, dword [esi + 0x10]
mov byte [eax + 0x18], 1
cmp byte [esi + 0x57], 0
mov byte [esi + 0x61], 0x76
jne 0x4a18b4
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x4a1825
xor edx, edx
mov ecx, esi
call fcn.00409770
jmp 0x4a182c
mov dword [esi + 0x44], 0xffffffff
push 2
push str.MATCH
push esi
call fcn.0049fe10
add esp, 0xc
cmp eax, 7
jne 0x4a1848
mov ecx, esi
call fcn.00406650
push esi
call fcn.004a0990
add esp, 4
test eax, eax
jne 0x4a1883
mov ebx, 0x5d96ac
nop word [eax + eax]
cmp ebx, str.rank
jge 0x4a18ec
mov edi, dword [ebx]
mov ecx, edi
push esi
call dword [0x5a143c]
call edi
add esp, 4
add ebx, 4
test eax, eax
je 0x4a1860
mov edx, eax
mov ecx, esi
call fcn.004097c0
push dword [0x608a48]
xor edx, edx
mov ecx, esi
push dword [0x608a44]
call fcn.0049e560
push 0x3e8
push 0x4a02b0
push esi
call fcn.004a03c0
add esp, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4a18cf
mov edi, dword [0x608a88]
mov ecx, edi
push eax
call dword [0x5a143c]
call edi
add esp, 4
push esi
call fcn.004a0990
mov ebx, eax
add esp, 4
cmp bl, 7
jne 0x4a1906
xor edx, edx
mov ecx, esi
call fcn.0049eea0
xor esi, esi
jmp 0x4a190e
test eax, eax
jne 0x4a1883
mov ecx, esi
call fcn.00468bd0
push esi
call fcn.004a0990
add esp, 4
test eax, eax
jne 0x4a18b4
jmp 0x4a188c
test ebx, ebx
je 0x4a190e
mov byte [esi + 0x61], 0xba
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov dword [eax], esi
call fcn.004a2af0
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053b526
mov esp, ebp
pop ebp
ret