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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x6121d4]
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.004a0100
test eax, eax
jne 0x4a3ac2
mov ebx, dword [ebp + 8]
cmp byte [0x613a34], al
jne 0x4a3622
xor edi, edi
jmp 0x4a3642
test ebx, 0x8000
je 0x4a362e
xor edi, edi
jmp 0x4a3642
mov edi, 1
test ebx, 0x10000
jne 0x4a3642
movzx edi, byte [0x613a35]
test ebx, 0x40000
je 0x4a3652
and ebx, 0xfffdffff
jmp 0x4a3661
cmp dword [0x613af8], 0
je 0x4a3661
or ebx, 0x20000
push 0
and ebx, 0xfff600e7
push 0x218
mov dword [ebp + 8], ebx
call fcn.00407d80
mov esi, eax
add esp, 8
test esi, esi
je 0x4a3a6f
push 0x218
push 0
push esi
call fcn.0056fec0
add esp, 0xc
test esi, esi
je 0x4a3a6f
test edi, edi
je 0x4a36d8
cmp byte [0x613a34], 0
jne 0x4a36ac
xor eax, eax
jmp 0x4a36c1
mov edi, dword [0x613a78]
mov ecx, edi
push 1
call dword [0x5aa43c]
call edi
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4a36d8
push esi
call fcn.00407fc0
add esp, 4
xor esi, esi
jmp 0x4a3a6f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4a36f3
mov edi, dword [0x613a80]
mov ecx, edi
push eax
call dword [0x5aa43c]
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 [0x5e41fc]
push fcn.004a0cf0
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x5e420c]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x5e421c]
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
mov eax, dword [0x613ad8]
mov dword [esi + 0x30], eax
mov eax, dword [0x613adc]
or dword [esi + 0x20], 0xe00480e0
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x64], 0
mov dword [esi + 0xb8], 0x613a18
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.004a2c80
push 0
push fcn.004a0cf0
push 0
push 3
mov edx, str.BINARY
mov ecx, esi
call fcn.004a2c80
push 0
push fcn.004a0cf0
push 0
push 2
mov edx, str.BINARY
mov ecx, esi
call fcn.004a2c80
push 0
push 0x4a0dc0
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.004a2c80
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x4a0d70
push 0
push 1
call fcn.004a2c80
add esp, 0x10
cmp byte [esi + 0x57], 0
jne 0x4a3a54
mov ecx, ebx
mov dword [esi + 0x3c], ebx
and ecx, 7
mov eax, 1
shl eax, cl
test al, 0x46
jne 0x4a3887
mov ecx, 0x2c339
call fcn.004a4160
jmp 0x4a38a8
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.004a2ed0
mov ebx, dword [ebp + 8]
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
je 0x4a38e3
cmp eax, 7
jne 0x4a38bc
mov ecx, esi
call fcn.004087f0
mov edi, dword [esp + 0x14]
xor ecx, ecx
test edi, edi
mov eax, 0x5dd3ec
push edi
cmove eax, ecx
push eax
push dword [esp + 0x14]
push esi
call fcn.0040ba70
push edi
call fcn.00407fc0
jmp 0x4a3a51
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.004219b0
add esp, 0x10
test eax, eax
je 0x4a3921
cmp eax, 0xc0a
mov ecx, 7
cmove eax, ecx
mov ecx, esi
mov edx, eax
call fcn.0040b960
jmp 0x4a3a54
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 4]
call fcn.0041f800
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.0045d680
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x4a3955
mov eax, dword [esi + 0x10]
mov ecx, esi
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x4d]
call fcn.0045cf80
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4a396c
add dword [ecx + 0xc], 0xffffffff
jne 0x4a396c
call fcn.0041f7b0
xor edx, edx
mov ecx, esi
call fcn.0045d680
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 0x4a3a54
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x4a39c5
xor edx, edx
mov ecx, esi
call fcn.0040b910
jmp 0x4a39cc
mov dword [esi + 0x44], 0xffffffff
push 2
push str.MATCH
push esi
call fcn.004a1fb0
add esp, 0xc
cmp eax, 7
jne 0x4a39e8
mov ecx, esi
call fcn.004087f0
push esi
call fcn.004a2b30
add esp, 4
test eax, eax
jne 0x4a3a23
mov ebx, 0x5e302c
nop word [eax + eax]
cmp ebx, str.rank
jge 0x4a3a8c
mov edi, dword [ebx]
mov ecx, edi
push esi
call dword [0x5aa43c]
call edi
add esp, 4
add ebx, 4
test eax, eax
je 0x4a3a00
mov edx, eax
mov ecx, esi
call fcn.0040b960
push dword [0x613a48]
xor edx, edx
mov ecx, esi
push dword [0x613a44]
call fcn.004a06f0
push 0x3e8
push 0x4a2450
push esi
call fcn.004a2560
add esp, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4a3a6f
mov edi, dword [0x613a88]
mov ecx, edi
push eax
call dword [0x5aa43c]
call edi
add esp, 4
push esi
call fcn.004a2b30
mov ebx, eax
add esp, 4
cmp bl, 7
jne 0x4a3aa6
xor edx, edx
mov ecx, esi
call fcn.004a1030
xor esi, esi
jmp 0x4a3aae
test eax, eax
jne 0x4a3a23
mov ecx, esi
call fcn.0046ad60
push esi
call fcn.004a2b30
add esp, 4
test eax, eax
jne 0x4a3a54
jmp 0x4a3a2c
test ebx, ebx
je 0x4a3aae
mov byte [esi + 0x61], 0xba
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov dword [eax], esi
call fcn.004a4c80
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00540c56
mov esp, ebp
pop ebp
ret