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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc8]
cmp eax, dword [ecx + 8]
jbe 0x49a9f0
sub esp, 0x148
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov eax, dword [esp + 0x150]
test eax, eax
je 0x49a220
mov ecx, dword [esp + 0x160]
test ecx, ecx
jne 0x499e7f
lea ecx, [0x86e060]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x499e8c
lea edx, [0x86e0a0]
mov ebx, dword [ecx + 0x18]
cmp ebx, 3
jg 0x49a1e4
jl 0x49a1a8
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xd0], edx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
test ebx, ebx
jne 0x499ebe
mov ebx, dword [esp + 0x14c]
jmp 0x499ef7
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x14c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004999e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x49a178
mov eax, ebp
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0049ab30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
je 0x499f1b
xor edx, edx
jmp 0x499f27
test ebx, ebx
jbe 0x49a9e6
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], eax
test ecx, ecx
jne 0x49a156
mov dword [esp + 0xcc], edx
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
test ecx, ecx
jne 0x499f90
mov eax, dword [esp + 0x154]
mov dword [esp], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 8], eax
call fcn.004993e0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0xcc]
test ecx, ecx
jne 0x499f98
xor ecx, ecx
jmp 0x499fee
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0049ab30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x499fbc
xor edx, edx
jmp 0x499fc8
test ebx, ebx
jbe 0x49a9dd
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
test eax, eax
jne 0x49a134
mov eax, dword [esp + 0xd0]
mov ecx, edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xdc], ecx
mov ebx, dword [esp + 0xe8]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx]
test ebp, ebp
jne 0x49a009
xor ebp, ebp
jmp 0x49a051
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0049ab30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
je 0x49a02d
xor edx, edx
jmp 0x49a039
test ebx, ebx
jbe 0x49a9d4
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], eax
test ecx, ecx
jne 0x49a112
mov ebp, edx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.0049f720
mov eax, dword [esp + 0x44]
cmp eax, 6
jae 0x49a09c
mov eax, 1
jmp 0x49a0aa
jne 0x49a0a8
cmp dword [esp + 0x40], 1
setbe al
jmp 0x49a0aa
xor eax, eax
mov byte [esp + 0x37], al
call fcn.0049e200
mov eax, dword [esp]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xd0]
mov edx, dword [ecx + 0x2c]
test edx, edx
jne 0x49a0ca
mov edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x58], ecx
lea ebx, [0x65f300]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004483c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe4], eax
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x68], edx
xor ebx, ebx
jmp 0x49a25d
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
lea eax, [0x7038b8]
mov dword [esp + 0x16c], eax
lea eax, [0x702798]
mov dword [esp + 0x170], eax
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
lea eax, [0x7038b8]
mov dword [esp + 0x16c], eax
lea eax, [0x70279c]
mov dword [esp + 0x170], eax
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
lea eax, [0x7038b8]
mov dword [esp + 0x16c], eax
lea eax, [0x70279c]
mov dword [esp + 0x170], eax
call fcn.00433730
add esp, 0x148
ret
inc ebx
cmp ebx, edx
jge 0x49a39a
mov ebp, dword [ecx + 0x18]
mov esi, dword [ecx + 0x14]
cmp ebx, ebp
jae 0x49a9cb
mov ebp, dword [esi + ebx*4]
test ebp, ebp
jbe 0x49a25c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp esi, edi
je 0x49a2ac
movzx edx, byte [esp + 0x37]
test dl, dl
je 0x49a2b1
mov dword [esp + 0x64], ebp
and ebp, 0x10000003
cmp ebp, 3
jne 0x49a2a6
mov ebp, dword [esp + 0x64]
mov esi, edi
jmp 0x49a2b1
mov ebp, dword [esp + 0x64]
jmp 0x49a2b1
movzx edx, byte [esp + 0x37]
mov edx, dword [esp + 0x58]
cmp ebx, edx
jae 0x49a9c2
mov dword [esp + 0x4c], ebx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
lea ecx, [eax + ebx*4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], 2
call fcn.0049db10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x49a36a
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x60], edx
lea ebx, [0x66cd60]
mov dword [esp], ebx
call fcn.0040b400
mov eax, dword [esp + 4]
lea ecx, [0x49aa80]
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [eax + 8], ebx
mov dword [esp], eax
call fcn.00433060
test eax, eax
jne 0x49a35e
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x4c]
jmp 0x49a25c
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
call fcn.00433730
add esp, 0x148
ret
lea edi, [esp + 0x100]
xor eax, eax
call fcn.0045fabe
mov dword [esp], 2
call fcn.0049c5a0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], ebx
test ebp, ebp
jne 0x49a5da
mov eax, dword [esp + 0x144]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
lea ecx, [0x49aa40]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xec]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
mov dword [esp], eax
call fcn.00433140
test eax, eax
jne 0x49a5ce
mov dword [esp + 0x100], 0x48
mov dword [esp + 0x12c], 0x100
mov edx, dword [esp + 0xd0]
movzx ebx, byte [edx]
test bl, bl
je 0x49a470
mov dword [esp + 0x12c], 0x101
mov word [esp + 0x130], 0
mov ebx, dword [edx + 0x2c]
test ebx, ebx
je 0x49a4de
mov eax, dword [esp + 0x144]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20000
lea eax, [edx + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0049f260
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
test edx, edx
jne 0x49a5ac
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x58]
test ecx, ecx
jbe 0x49a9bb
mov ebx, dword [esp + 0xe4]
mov ebp, dword [ebx]
mov dword [esp + 0x138], ebp
cmp ecx, 1
jbe 0x49a9b1
mov ebp, dword [ebx + 4]
mov dword [esp + 0x13c], ebp
cmp ecx, 2
jbe 0x49a9a7
mov eax, dword [ebx + 8]
mov dword [esp + 0x140], eax
mov eax, dword [edx + 0x24]
lea ebp, [ecx + eax]
mov dword [esp + 0x54], ebp
mov esi, dword [edx + 0x20]
cmp ecx, ebp
jb 0x49a535
mov edi, ecx
jmp 0x49a577
mov dword [esp + 0x68], eax
mov dword [esp + 0xe0], esi
lea eax, [0x65f300]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00448480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0x58]
mov ebx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x58], ecx
mov dword [esp + 0xd4], ebx
lea edx, [ebx + edi*4]
mov dword [esp], edx
mov dword [esp + 4], esi
shl eax, 2
mov dword [esp + 8], eax
call fcn.004601c0
mov eax, dword [esp + 0xd4]
movzx ecx, byte [esp + 0x37]
mov edx, dword [esp + 0x54]
xor ebx, ebx
jmp 0x49a5fd
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
call fcn.00433730
add esp, 0x148
ret
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
call fcn.00433730
add esp, 0x148
ret
inc ebx
cmp ebx, edx
jge 0x49a622
jae 0x49a99e
mov ebp, dword [eax + ebx*4]
test cl, cl
je 0x49a5fc
and ebp, 0x10000003
cmp ebp, 3
jne 0x49a5fc
mov dword [eax + ebx*4], 0
jmp 0x49a5fc
xor ecx, ecx
xor ebx, ebx
jmp 0x49a629
inc ecx
cmp ecx, edx
jge 0x49a648
jae 0x49a995
mov ebp, dword [eax + ecx*4]
test ebp, ebp
je 0x49a628
cmp ebx, edx
jae 0x49a98c
mov dword [eax + ebx*4], ebp
inc ebx
jmp 0x49a628
mov edx, dword [esp + 0x58]
cmp ebx, edx
ja 0x49a985
test ebx, ebx
je 0x49a668
mov ebp, dword [esp + 0xd0]
movzx esi, byte [ebp + 0x1c]
xor esi, 1
jmp 0x49a671
mov ebp, dword [esp + 0xd0]
xor esi, esi
xchg esi, eax
mov byte [esp + 0x36], al
xchg esi, eax
mov dword [esp + 0x48], ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x49a724
mov edi, dword [esp + 0x144]
test ebx, ebx
jbe 0x49a97c
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20002
mov dword [esp + 0xc], eax
shl ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0049f260
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
test edx, edx
jne 0x49a702
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0xd0]
movzx esi, byte [esp + 0x36]
jmp 0x49a724
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ecx, dword [ebp + 0xc]
or ecx, 0x80400
mov dword [esp + 0x50], ecx
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x49a807
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004994e0
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
mov ebp, dword [esp + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
movzx ecx, byte [esp + 0x36]
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x28], ecx
call fcn.0049c710
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
jmp 0x49a8a3
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004994e0
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0xcc]
mov dword [esp], ebp
mov ebp, dword [esp + 0xdc]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
movzx ecx, byte [esp + 0x36]
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x24], ecx
call fcn.0049d8d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
mov eax, dword [esp + 0x16c]
test eax, eax
jne 0x49a95a
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x49aa00]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.00433140
test eax, eax
jne 0x49a94e
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
call fcn.00433730
add esp, 0x148
ret
call fcn.00433730
add esp, 0x148
ret
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
call fcn.00433730
add esp, 0x148
ret
xor eax, eax
mov ecx, ebx
call fcn.0045f8b0
mov ecx, ebx
call fcn.0045f8f0
mov eax, ebx
mov ecx, edx
call fcn.0045f8b0
mov eax, ecx
mov ecx, edx
call fcn.0045f8b0
mov eax, ebx
mov ecx, edx
call fcn.0045f8b0
mov eax, 2
call fcn.0045f8b0
mov eax, 1
call fcn.0045f8b0
xor eax, eax
call fcn.0045f8b0
mov eax, ebx
mov ecx, edx
call fcn.0045f8b0
mov eax, ebx
mov ecx, ebp
call fcn.0045f8b0
xor eax, eax
mov ecx, ebx
call fcn.0045f8b0
xor eax, eax
mov ecx, ebx
call fcn.0045f8b0
xor eax, eax
mov ecx, ebx
call fcn.0045f8b0
nop
call fcn.0045e420
jmp fcn.00499e10