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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49a4ef
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 0x499dc0
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.0049d180
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [esp + 8]
mov ebx, dword [0x7c78f0]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
test ebx, ebx
jne 0x499da1
mov dword [ecx + 0x13c], edx
jmp 0x499db8
add ecx, 0x13c
mov ebx, edi
mov edi, ecx
mov eax, edx
call fcn.00463730
mov eax, dword [esp + 0x6c]
mov edi, ebx
test ebp, ebp
jne 0x499e25
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
test ecx, ecx
jg 0x499dcf
mov ebx, 0xffffffff
jmp 0x499dd1
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 0x499f4c
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
lea eax, [0x5f20c0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x60c23e]
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 [0x7c78f0]
test ecx, ecx
jne 0x499e72
mov dword [eax + 8], edx
jmp 0x499e80
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00463730
mov eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x499e9a
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x14], ecx
jmp 0x499eaa
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00463730
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, [0x661bac]
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 0x49a3e6
mov dword [esp + 0x28], ebx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx ebx, byte [eax + 0x258]
test bl, bl
jne 0x49a3e2
mov dword [esp + 0x24], edi
test dl, dl
je 0x499fa5
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00471840
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 0x49a2b0
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.0046fde0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jne 0x499fd2
cmp byte [eax], 0x2e
je 0x499fde
cmp ecx, 2
jne 0x499fff
cmp word [eax], 0x2e2e
jne 0x499fff
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 0x499f1f
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x49a0ba
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x49a026
mov esi, dword [esp + 0x50]
jmp 0x49a068
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, [0x5e1fa0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
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 [0x7c78f0]
test edx, edx
jne 0x49a082
mov dword [ecx], eax
jmp 0x49a08d
mov edx, edi
mov edi, ecx
call fcn.00463730
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 0x49a2a6
lea eax, [0x600e60]
mov dword [esp], eax
call fcn.0040bd40
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 [0x7c78f0]
test edx, edx
jne 0x49a125
mov edx, dword [esp + 0x44]
mov dword [eax], edx
jmp 0x49a132
mov edi, eax
mov eax, dword [esp + 0x44]
call fcn.00463730
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 [0x7c78f0]
test ebx, ebx
jne 0x49a15c
mov dword [eax + 0x3c], ebp
jmp 0x49a16a
lea edi, [eax + 0x3c]
mov ebx, eax
mov eax, ebp
call fcn.00463730
mov eax, ebx
mov dword [esp + 0x40], eax
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0x74]
cmp ebx, 1
jne 0x49a212
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x49a192
mov edi, dword [esp + 0x58]
jmp 0x49a1d8
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, [0x5ee8a0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
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, [0x66245c]
mov dword [ebx], ecx
lea ebx, [edi + ebp*8 - 4]
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x49a1f6
mov dword [ebx], eax
jmp 0x49a201
mov ecx, edi
mov edi, ebx
call fcn.00463730
mov edi, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jmp 0x49a2a6
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x49a225
mov edi, dword [esp + 0x54]
jmp 0x49a26b
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, [0x5f4b80]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
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, [0x66263c]
mov dword [ebx], ecx
lea ebx, [edi + ebp*8 - 4]
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x49a289
mov dword [ebx], eax
jmp 0x49a294
mov ecx, edi
mov edi, ebx
call fcn.00463730
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 0x499f1f
mov dword [esp + 0x60], ebp
mov dword [esp + 0x48], ebx
lea eax, [0x661f44]
cmp ecx, eax
jne 0x49a2f0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x6611a0]
mov dword [esp + 8], eax
call fcn.00403850
movzx eax, byte [esp + 0xc]
test al, al
je 0x49a2f0
mov eax, dword [esp + 0x70]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x49a3e8
lea eax, [0x5f20c0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x60d80f]
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 [0x7c78f0]
test ecx, ecx
jne 0x49a335
mov dword [eax + 8], edx
jmp 0x49a343
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00463730
mov eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x49a35d
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x14], ecx
jmp 0x49a36d
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00463730
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, [0x661bac]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x68
ret
test ecx, ecx
jmp 0x49a3e8
test ecx, ecx
jg 0x49a3f8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
jmp 0x49a40d
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 0x49a474
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 [0x7a17c0]
mov ecx, dword [0x7a17c4]
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.00462320
jmp fcn.00499d30