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

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
push ebx
mov dword [esp + 0xc], ecx
push esi
mov esi, dword [esp + 0x78]
push edi
push ebp
cmp esi, eax
jl 0x49be43
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x5c
ret 0x1c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
mov eax, dword [eax]
sub eax, esi
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
sub eax, esi
lea edx, [esp + 0x38]
sub eax, ecx
push edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
call fcn.0049d020
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov eax, dword [ecx]
add eax, esi
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 4]
add eax, esi
lea ecx, [esp + 0x40]
add eax, edx
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
call fcn.0049d020
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov eax, dword [ecx]
sub eax, edx
add eax, esi
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
sub eax, edx
lea ecx, [esp + 0x48]
add eax, esi
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
call fcn.0049d020
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov eax, dword [ecx]
sub eax, esi
add eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 4]
sub eax, esi
lea ecx, [esp + 0x50]
add eax, edx
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
call fcn.0049d020
lea ecx, [esp + 0x40]
lea edx, [esp + 0x38]
push ecx
push edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0
call fcn.0049c170
mov dword [esp + 0x34], 0xffffffff
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0049d080
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], ecx
cmp edx, ecx
jl 0x49c150
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
cmp eax, ecx
jl 0x49c13b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
cmp eax, ecx
jg 0x49bf84
mov eax, dword [esp + 0x50]
cmp eax, ecx
jl 0x49bf84
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
cmp eax, ecx
jg 0x49bf84
mov eax, dword [esp + 0x54]
cmp eax, ecx
jge 0x49c126
mov eax, dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x14]
sub eax, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
push ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x2c], eax
call fcn.0049d020
cmp eax, 1
je 0x49c126
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add eax, edi
mov ecx, dword [esp + 0x18]
add edi, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edi
push eax
call fcn.0049d020
cmp eax, 1
je 0x49c126
xor edi, edi
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x2c], ebx
jle 0x49c04b
test edi, edi
jne 0x49c04b
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
jle 0x49c042
test edi, edi
jne 0x49c042
push 1
mov ecx, esi
mov dword [esp + 0x20], ebp
sub esp, 4
sub esp, 4
fild dword [esp + 0x28]
mov dword [esp + 0x28], ebx
fild dword [esp + 0x28]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
mov eax, dword [esi]
call dword [eax + 0x10c]
test eax, eax
jne 0x49c039
mov edi, 1
inc ebp
mov eax, dword [esp + 0x30]
cmp eax, ebp
jg 0x49c001
inc ebx
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jl 0x49bff1
cmp edi, 1
je 0x49c126
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x64]
push 1
fild dword [esp + 0x80]
mov dword [esp + 0x60], ecx
push edx
lea edx, [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
sub esp, 4
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x2c], pe_nt_image_headers32
push eax
mov ebx, dword [esi]
push edx
call dword [ebx + 0x1a8]
test eax, eax
jne 0x49c0a0
mov dword [esp + 0x20], 0x40
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jl 0x49c0f0
test edi, edi
jne 0x49c0f0
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
jl 0x49c0e7
test edi, edi
jne 0x49c0e7
push ebp
mov ecx, 0x580e30
push ebx
call fcn.004bad90
cmp eax, 0xff
jne 0x49c0da
mov edi, 1
jmp 0x49c0de
add dword [esp + 0x20], eax
inc ebp
mov eax, dword [esp + 0x30]
cmp eax, ebp
jge 0x49c0bc
inc ebx
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jle 0x49c0ac
cmp edi, 1
je 0x49c126
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x49c10a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jge 0x49c126
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x10], eax
cmp ecx, eax
jge 0x49bf58
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x14], eax
cmp ecx, eax
jge 0x49bf44
xor eax, eax
mov ecx, dword [esp + 0x34]
pop ebp
cmp ecx, 0xffffffff
setne al
pop edi
pop esi
pop ebx
add esp, 0x5c
ret 0x1c