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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x5ff1d4]
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.00499ef0
test eax, eax
jne 0x49d832
mov ebx, dword [ebp + 8]
cmp byte [0x600a2c], al
jne 0x49d392
xor edi, edi
jmp 0x49d3b2
test ebx, 0x8000
je 0x49d39e
xor edi, edi
jmp 0x49d3b2
mov edi, 1
test ebx, 0x10000
jne 0x49d3b2
movzx edi, byte [0x600a2d]
test ebx, 0x40000
je 0x49d3c2
and ebx, 0xfffdffff
jmp 0x49d3d1
cmp dword [0x600af0], 0
je 0x49d3d1
or ebx, 0x20000
push 0
and ebx, 0xfff600e7
push 0x218
mov dword [ebp + 8], ebx
call fcn.004056a0
mov esi, eax
add esp, 8
test esi, esi
je 0x49d7df
push 0x218
push 0
push esi
call fcn.00563230
add esp, 0xc
test esi, esi
je 0x49d7df
test edi, edi
je 0x49d448
cmp byte [0x600a2c], 0
jne 0x49d41c
xor eax, eax
jmp 0x49d431
mov edi, dword [0x600a70]
mov ecx, edi
push 1
call dword [0x59a43c]
call edi
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x49d448
push esi
call fcn.004058e0
add esp, 4
xor esi, esi
jmp 0x49d7df
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49d463
mov edi, dword [0x600a78]
mov ecx, edi
push eax
call dword [0x59a43c]
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 [0x5d3528]
push fcn.0049aad0
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x5d3538]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x5d3548]
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
mov eax, dword [0x600ad0]
mov dword [esi + 0x30], eax
mov eax, dword [0x600ad4]
or dword [esi + 0x20], 0xe00480e0
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x64], 0
mov dword [esi + 0xb8], 0x600a10
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.0049c9f0
push 0
push fcn.0049aad0
push 0
push 3
mov edx, str.BINARY
mov ecx, esi
call fcn.0049c9f0
push 0
push fcn.0049aad0
push 0
push 2
mov edx, str.BINARY
mov ecx, esi
call fcn.0049c9f0
push 0
push 0x49aba0
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.0049c9f0
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x49ab50
push 0
push 1
call fcn.0049c9f0
add esp, 0x10
cmp byte [esi + 0x57], 0
jne 0x49d7c4
mov ecx, ebx
mov dword [esi + 0x3c], ebx
and ecx, 7
mov eax, 1
shl eax, cl
test al, 0x46
jne 0x49d5f7
mov ecx, 0x2b88c
call fcn.0049dc40
jmp 0x49d618
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.0049cc40
mov ebx, dword [ebp + 8]
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
je 0x49d653
cmp eax, 7
jne 0x49d62c
mov ecx, esi
call fcn.004060e0
mov edi, dword [esp + 0x14]
xor ecx, ecx
test edi, edi
mov eax, 0x5cc8fc
push edi
cmove eax, ecx
push eax
push dword [esp + 0x14]
push esi
call fcn.004099c0
push edi
call fcn.004058e0
jmp 0x49d7c1
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.0041d8c0
add esp, 0x10
test eax, eax
je 0x49d691
cmp eax, 0xc0a
mov ecx, 7
cmove eax, ecx
mov ecx, esi
mov edx, eax
call fcn.004099a0
jmp 0x49d7c4
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 4]
call fcn.0041b6f0
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.00458a00
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x49d6c5
mov eax, dword [esi + 0x10]
mov ecx, esi
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x4d]
call fcn.00458300
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x49d6dc
add dword [ecx + 0xc], 0xffffffff
jne 0x49d6dc
call fcn.0041b6a0
xor edx, edx
mov ecx, esi
call fcn.00458a00
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 0x49d7c4
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x49d735
xor edx, edx
mov ecx, esi
call fcn.00409900
jmp 0x49d73c
mov dword [esi + 0x44], 0xffffffff
push 2
push str.MATCH
push esi
call fcn.0049bd40
add esp, 0xc
cmp eax, 7
jne 0x49d758
mov ecx, esi
call fcn.004060e0
push esi
call fcn.0049c8a0
add esp, 4
test eax, eax
jne 0x49d793
mov ebx, 0x5d23d4
nop word [eax + eax]
cmp ebx, str.rank
jge 0x49d7fc
mov edi, dword [ebx]
mov ecx, edi
push esi
call dword [0x59a43c]
call edi
add esp, 4
add ebx, 4
test eax, eax
je 0x49d770
mov edx, eax
mov ecx, esi
call fcn.004099a0
push dword [0x600a40]
xor edx, edx
mov ecx, esi
push dword [0x600a3c]
call fcn.0049a4d0
push 0x3e8
push 0x49c1e0
push esi
call fcn.0049c2f0
add esp, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49d7df
mov edi, dword [0x600a80]
mov ecx, edi
push eax
call dword [0x59a43c]
call edi
add esp, 4
push esi
call fcn.0049c8a0
mov ebx, eax
add esp, 4
cmp bl, 7
jne 0x49d816
xor edx, edx
mov ecx, esi
call fcn.0049ae10
xor esi, esi
jmp 0x49d81e
test eax, eax
jne 0x49d793
mov ecx, esi
call fcn.004658a0
push esi
call fcn.0049c8a0
add esp, 4
test eax, eax
jne 0x49d7c4
jmp 0x49d79c
test ebx, ebx
je 0x49d81e
mov byte [esi + 0x61], 0xba
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov dword [eax], esi
call fcn.0049e6f0
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret