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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4954ff
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 0x494dd0
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.00497950
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [esp + 8]
mov ebx, dword [0x1eaa9f0]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
test ebx, ebx
jne 0x494db1
mov dword [ecx + 0x13c], edx
jmp 0x494dc8
add ecx, 0x13c
mov ebx, edi
mov edi, ecx
mov eax, edx
call fcn.00465d80
mov eax, dword [esp + 0x6c]
mov edi, ebx
test ebp, ebp
jne 0x494e35
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
test ecx, ecx
jg 0x494ddf
mov ebx, 0xffffffff
jmp 0x494de1
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 0x494f5c
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
lea eax, [0x6beac0]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x6ef26c]
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 [0x1eaa9f0]
test ecx, ecx
jne 0x494e82
mov dword [eax + 8], edx
jmp 0x494e90
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00465d80
mov eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x494eaa
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x14], ecx
jmp 0x494eba
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00465d80
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, [0x7853b8]
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 0x4953f6
mov dword [esp + 0x28], ebx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx ebx, byte [eax + 0x258]
test bl, bl
jne 0x4953f2
mov dword [esp + 0x24], edi
test dl, dl
je 0x494fb5
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00474fa0
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 0x4952c0
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.00474160
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jne 0x494fe2
cmp byte [eax], 0x2e
je 0x494fee
cmp ecx, 2
jne 0x49500f
cmp word [eax], 0x2e2e
jne 0x49500f
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 0x494f2f
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x4950ca
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x495036
mov esi, dword [esp + 0x50]
jmp 0x495078
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, [0x69bcc0]
mov dword [esp + 0x10], eax
call fcn.0044be60
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 [0x1eaa9f0]
test edx, edx
jne 0x495092
mov dword [ecx], eax
jmp 0x49509d
mov edx, edi
mov edi, ecx
call fcn.00465d80
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 0x4952b6
lea eax, [0x6deae0]
mov dword [esp], eax
call fcn.0040be50
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 [0x1eaa9f0]
test edx, edx
jne 0x495135
mov edx, dword [esp + 0x44]
mov dword [eax], edx
jmp 0x495142
mov edi, eax
mov eax, dword [esp + 0x44]
call fcn.00465d80
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 [0x1eaa9f0]
test ebx, ebx
jne 0x49516c
mov dword [eax + 0x3c], ebp
jmp 0x49517a
lea edi, [eax + 0x3c]
mov ebx, eax
mov eax, ebp
call fcn.00465d80
mov eax, ebx
mov dword [esp + 0x40], eax
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0x74]
cmp ebx, 1
jne 0x495222
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x4951a2
mov edi, dword [esp + 0x58]
jmp 0x4951e8
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, [0x6b6ac0]
mov dword [esp + 0x10], eax
call fcn.0044be60
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, [0x786eb4]
mov dword [ebx], ecx
lea ebx, [edi + ebp*8 - 4]
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x495206
mov dword [ebx], eax
jmp 0x495211
mov ecx, edi
mov edi, ebx
call fcn.00465d80
mov edi, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jmp 0x4952b6
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x495235
mov edi, dword [esp + 0x54]
jmp 0x49527b
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, [0x6c4f00]
mov dword [esp + 0x10], eax
call fcn.0044be60
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, [0x78721c]
mov dword [ebx], ecx
lea ebx, [edi + ebp*8 - 4]
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x495299
mov dword [ebx], eax
jmp 0x4952a4
mov ecx, edi
mov edi, ebx
call fcn.00465d80
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 0x494f2f
mov dword [esp + 0x60], ebp
mov dword [esp + 0x48], ebx
lea eax, [0x785fd4]
cmp ecx, eax
jne 0x495300
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x784718]
mov dword [esp + 8], eax
call fcn.00403940
movzx eax, byte [esp + 0xc]
test al, al
je 0x495300
mov eax, dword [esp + 0x70]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x4953f8
lea eax, [0x6beac0]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x6f1344]
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 [0x1eaa9f0]
test ecx, ecx
jne 0x495345
mov dword [eax + 8], edx
jmp 0x495353
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00465d80
mov eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x49536d
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x14], ecx
jmp 0x49537d
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00465d80
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, [0x7853b8]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x68
ret
test ecx, ecx
jmp 0x4953f8
test ecx, ecx
jg 0x495408
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
jmp 0x49541d
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 0x495484
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 [0x1e84bb8]
mov ecx, dword [0x1e84bbc]
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.004649b0
jmp fcn.00494d40