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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49f7cf
sub esp, 0x74
mov edx, dword [esp + 0x78]
test edx, edx
je 0x49f7a1
lea ebx, [0x81c580]
cmp edx, ebx
je 0x49f780
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 8]
test ecx, ecx
je 0x49f72d
mov ebp, dword [edx + 0x38]
test ebp, ebp
je 0x49f722
mov dword [esp + 0x68], ebp
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0x80]
cmp esi, edi
mov eax, ebx
sete bl
xchg esi, ebx
setl bl
xchg esi, ebx
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x5c], ebp
mov edi, dword [esp + 0x7c]
cmp edi, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49f3f2
mov ebx, dword [edx + 0x30]
mov dword [esp + 0x58], ebx
cmp ebx, edi
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [edx + 0x34]
mov dword [esp + 0x54], esi
mov ebx, dword [esp + 0x80]
cmp ebx, esi
xchg esi, ebx
setl bl
xchg esi, ebx
sete bl
and ebx, ebp
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x49f6d1
mov dword [esp + 0x64], edx
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
test ebx, ebx
je 0x49f649
cmp dword [ebp], edi
xchg esi, ebx
seta bl
xchg esi, ebx
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x80]
cmp edx, edi
setg dl
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, esi
or edx, edi
test dl, dl
jne 0x49f649
mov dword [esp + 0x50], ebx
mov dword [esp + 0x70], ebp
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov edi, ebx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov ebx, edi
mov edi, 0x7fffffff
mov dword [esp + 0x60], edi
mov edi, 0xffffffff
mov dword [esp + 0x5c], edi
mov edi, ebx
jmp 0x49f488
mov ebp, dword [esp + 0x7c]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x50]
mov ebx, edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x3c]
sub ebx, esi
cmp ebx, 1
jle 0x49f509
mov dword [esp + 0x4c], ebx
shr ebx, 0x1f
mov edx, dword [esp + 0x4c]
add edx, ebx
sar edx, 1
add edx, esi
cmp edx, edi
jae 0x49f7bc
mov dword [esp + 0x38], edx
lea ebx, [edx + edx*2]
mov edi, dword [ebp + ebx*4]
mov edx, dword [esp + 0x7c]
cmp edx, edi
setb dl
mov ebx, dword [ebp + ebx*4 + 4]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x80]
cmp ebx, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
setg bl
and edx, ebp
or edx, ebx
test dl, dl
je 0x49f4f4
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
jmp 0x49f463
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
jmp 0x49f463
cmp esi, edi
jae 0x49f7b3
lea ebx, [esi + esi*2]
lea edx, [ebp + ebx*4 + 8]
movzx edx, byte [edx]
cmp edx, ecx
jae 0x49f7ac
shl edx, 4
mov ecx, dword [edx + eax]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + eax + 4]
mov eax, dword [edx + eax + 8]
mov edx, dword [ebp + ebx*4 + 4]
mov ebx, dword [ebp + ebx*4]
lea ebp, [edi - 1]
cmp esi, ebp
jne 0x49f552
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x20]
test esi, esi
jne 0x49f593
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x9c], eax
add esp, 0x74
ret
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
call fcn.0049f920
movzx eax, byte [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x30]
test al, al
jne 0x49f610
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
jmp 0x49f552
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edi
add esp, 0x74
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0049f7e0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 4]
cmp ebx, edx
jae 0x49f7c5
shl ebx, 4
mov edx, dword [ebx + ecx]
mov ebp, dword [ebx + ecx + 4]
mov ecx, dword [ebx + ecx + 8]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x49f6c5
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x80000000
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
add esp, 0x74
ret
mov eax, 0x7fffffff
mov ebx, 0xffffffff
jmp 0x49f688
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x9c], eax
add esp, 0x74
ret
mov eax, ebx
mov edi, dword [esp + 0x7c]
jmp 0x49f3f2
lea eax, [0x66eabb]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 3
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x80000000
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0x7fffffff
add esp, 0x74
ret
lea eax, [0x8325f8]
mov dword [esp], eax
lea eax, [0x689918]
mov dword [esp + 4], eax
call fcn.0046e810
mov edx, dword [esp + 0x78]
jmp 0x49f363
lea edx, [0x818860]
jmp 0x49f363
mov eax, edx
call fcn.0045ad60
mov eax, esi
mov ecx, edi
call fcn.0045ad60
mov eax, edx
mov ecx, edi
call fcn.0045ad60
mov eax, ebx
mov ecx, edx
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.0049f330