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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49a62f
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
test byte [eax], al
mov edx, dword [ecx + 0x13c]
test edx, edx
jne 0x499f00
mov dword [esp + 0x64], edx
mov eax, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049d2c0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [esp + 8]
mov ebx, dword [0x7e2780]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
test ebx, ebx
jne 0x499ee1
mov dword [ecx + 0x13c], edx
jmp 0x499ef8
add ecx, 0x13c
mov ebx, edi
mov edi, ecx
mov eax, edx
call fcn.00463860
mov eax, dword [esp + 0x6c]
mov edi, ebx
test ebp, ebp
jne 0x499f65
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
test ecx, ecx
jg 0x499f0f
mov ebx, 0xffffffff
jmp 0x499f11
mov ebx, ecx
mov ebp, dword [eax]
mov ebp, dword [ebp + 0x13c]
mov dword [esp + 0x64], ebp
test byte [ebp], al
test edx, edx
setne dl
lea esi, [ebp + 4]
mov dword [esp + 0x4c], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x38], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x30], edi
xor edi, edi
mov dword [esp + 0x58], edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x50], edi
xor edi, edi
jmp 0x49a08c
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
lea eax, [0x601700]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x61c843]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x499fb2
mov dword [eax + 8], edx
jmp 0x499fc0
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00463860
mov eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x499fda
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x14], ecx
jmp 0x499fea
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00463860
mov eax, ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x6745d4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x68
ret
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov ebx, edx
mov edx, 1
mov edi, eax
mov eax, dword [esp + 0x6c]
test ebx, ebx
je 0x49a526
mov dword [esp + 0x28], ebx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx ebx, byte [eax + 0x258]
test bl, bl
jne 0x49a522
mov dword [esp + 0x24], edi
test dl, dl
je 0x49a0e5
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00471980
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x49a3f0
mov ebp, dword [esp + 0x64]
lea eax, [ebp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x103
mov dword [esp + 8], 0x103
call fcn.0046ff20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jne 0x49a112
cmp byte [eax], 0x2e
je 0x49a11e
cmp ecx, 2
jne 0x49a13f
cmp word [eax], 0x2e2e
jne 0x49a13f
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
jmp 0x49a05f
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x49a1fa
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x49a166
mov esi, dword [esp + 0x50]
jmp 0x49a1a8
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5f0d80]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov edi, edx
lea edx, [esi + ebx*8 - 4]
mov dword [edx], ecx
lea ecx, [esi + ebx*8 - 8]
mov edx, dword [0x7e2780]
test edx, edx
jne 0x49a1c2
mov dword [ecx], eax
jmp 0x49a1cd
mov edx, edi
mov edi, ecx
call fcn.00463860
mov edi, edx
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x3c]
jmp 0x49a3e6
lea eax, [0x610f00]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x7e2780]
test edx, edx
jne 0x49a265
mov edx, dword [esp + 0x44]
mov dword [eax], edx
jmp 0x49a272
mov edi, eax
mov eax, dword [esp + 0x44]
call fcn.00463860
mov eax, edi
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
mov ebp, dword [ebx + 0x250]
mov ebx, dword [ebx + 0x254]
mov dword [eax + 0x40], ebx
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x49a29c
mov dword [eax + 0x3c], ebp
jmp 0x49a2aa
lea edi, [eax + 0x3c]
mov ebx, eax
mov eax, ebp
call fcn.00463860
mov eax, ebx
mov dword [esp + 0x40], eax
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0x74]
cmp ebx, 1
jne 0x49a352
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x49a2d2
mov edi, dword [esp + 0x58]
jmp 0x49a318
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5fdd20]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov edi, eax
mov esi, ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x674f1c]
mov dword [ebx], ecx
lea ebx, [edi + ebp*8 - 4]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x49a336
mov dword [ebx], eax
jmp 0x49a341
mov ecx, edi
mov edi, ebx
call fcn.00463860
mov edi, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jmp 0x49a3e6
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x49a365
mov edi, dword [esp + 0x54]
jmp 0x49a3ab
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x604340]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x40]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x6750fc]
mov dword [ebx], ecx
lea ebx, [edi + ebp*8 - 4]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x49a3c9
mov dword [ebx], eax
jmp 0x49a3d4
mov ecx, edi
mov edi, ebx
call fcn.00463860
mov edi, ecx
mov eax, esi
mov ecx, ebp
mov ebx, edi
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
dec edx
jmp 0x49a05f
mov dword [esp + 0x60], ebp
mov dword [esp + 0x48], ebx
lea eax, [0x6749a8]
cmp ecx, eax
jne 0x49a430
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x673b50]
mov dword [esp + 8], eax
call fcn.00403850
movzx eax, byte [esp + 0xc]
test al, al
je 0x49a430
mov eax, dword [esp + 0x70]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x49a528
lea eax, [0x601700]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x61de88]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x49a475
mov dword [eax + 8], edx
jmp 0x49a483
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00463860
mov eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x49a49d
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x14], ecx
jmp 0x49a4ad
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00463860
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x98], ecx
lea ecx, [0x6745d4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x68
ret
test ecx, ecx
jmp 0x49a528
test ecx, ecx
jg 0x49a538
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
jmp 0x49a54d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x38]
add edx, ebx
test edx, edx
je 0x49a5b4
mov edx, dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x68
ret
mov eax, dword [0x7bbdf0]
mov ecx, dword [0x7bbdf4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x68
ret
call fcn.00462450
jmp fcn.00499e70