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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x494df5
sub esp, 0xf8
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov eax, dword [esp + 0x100]
test eax, eax
je 0x494d6f
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x494d64
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x494d59
mov ebx, dword [ecx + 0x18]
cmp ebx, 3
jg 0x494d1c
jl 0x494cdf
mov dword [esp + 0x110], ecx
mov dword [esp + 0xa0], edx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
test ebx, ebx
jne 0x494c74
mov ebx, dword [esp + 0xfc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00495860
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x494c63
xor eax, eax
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], edx
test ebx, ebx
jne 0x494c40
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
test edx, edx
je 0x494c00
test edx, edx
jne 0x494b86
xor edx, edx
mov dword [esp + 0xa8], edx
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx]
test ebp, ebp
jne 0x494b18
xor ebp, ebp
mov dword [esp + 0xa4], ebp
lea eax, [0xa91900]
mov dword [esp], eax
call fcn.0046d0f0
mov dword [esp + 0x58], 4
lea eax, [0x7c3d40]
mov dword [esp + 0x68], eax
lea eax, [0xa91900]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
call fcn.0042a4a0
test eax, eax
jne 0x494b0b
call fcn.00498b90
mov eax, dword [esp]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x110]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x40], edx
lea ebx, [0x7486c0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0043c700
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x110]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x44], edx
xor ebx, ebx
jmp 0x49478b
inc ebx
cmp ebx, edx
jge 0x49487a
mov ebp, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
cmp ebx, esi
jae 0x494dd6
mov ebp, dword [ebp + ebx*4]
test ebp, ebp
jbe 0x49478a
mov esi, dword [esp + 0x40]
cmp ebx, esi
jae 0x494dcd
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
lea edx, [eax + ebx*4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], 2
call fcn.00498d50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x494849
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + eax*4]
mov dword [esp], 0xc
lea ebx, [0x7c3d64]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0042a3b0
test eax, eax
jne 0x49483c
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
jmp 0x49478a
nop
call fcn.0042abe0
add esp, 0xf8
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], eax
nop
call fcn.0042abe0
add esp, 0xf8
ret
lea edi, [esp + 0xb4]
mov edx, eax
xor eax, eax
call fcn.0045171f
mov dword [esp + 0xb4], 0x44
mov dword [esp + 0xe0], 0x100
mov ecx, dword [esp + 0xa0]
movzx ebx, byte [ecx]
test bl, bl
je 0x4948b9
mov dword [esp + 0xe0], 0x101
mov ebx, dword [esp + 0x40]
test ebx, ebx
jbe 0x494dc4
mov ebp, dword [edx]
mov dword [esp + 0xec], ebp
cmp ebx, 1
jbe 0x494db8
mov ebp, dword [edx + 4]
mov dword [esp + 0xf0], ebp
cmp ebx, 2
jbe 0x494dac
mov eax, dword [edx + 8]
mov dword [esp + 0xf4], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [ecx + 0xc]
or eax, 0x400
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x494a6e
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00493c10
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov ebx, dword [esp + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x28], eax
call fcn.004987e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x494a4b
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], 0xc
lea ecx, [0x7c3d64]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call fcn.0042a4a0
test eax, eax
jne 0x494a3e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
nop
call fcn.0042abe0
add esp, 0xf8
ret
nop
call fcn.0042abe0
add esp, 0xf8
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
nop
call fcn.0042abe0
add esp, 0xf8
ret
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00493c10
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 1
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
call fcn.00498680
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], eax
jmp 0x4949ca
nop
call fcn.0042abe0
add esp, 0xf8
ret
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00495860
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x494b76
xor ecx, ecx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], eax
test ebx, ebx
jne 0x494b53
mov ebp, ecx
jmp 0x4946f8
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
nop
call fcn.0042abe0
add esp, 0xf8
ret
test ecx, ecx
jbe 0x494ddf
mov ecx, edx
xor eax, eax
xor ebx, ebx
jmp 0x494b3a
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00495860
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x494bf2
xor eax, eax
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], edx
test ebx, ebx
jne 0x494bcf
mov ecx, dword [esp + 0xa0]
mov edx, eax
mov eax, dword [esp + 0xac]
jmp 0x4946db
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
nop
call fcn.0042abe0
add esp, 0xf8
ret
test ecx, ecx
jbe 0x494de6
xor edx, edx
xor ebx, ebx
jmp 0x494ba8
mov eax, dword [esp + 0x104]
mov dword [esp], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 8], eax
call fcn.00493b20
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
jmp 0x4946d1
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
nop
call fcn.0042abe0
add esp, 0xf8
ret
test ecx, ecx
jbe 0x494ded
xor edx, edx
xor ebx, ebx
jmp 0x49469f
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00494140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x494cae
mov ecx, ebx
mov ebx, eax
mov eax, ecx
jmp 0x494679
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], edx
nop
call fcn.0042abe0
add esp, 0xf8
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [0x82e3a0]
mov dword [esp + 0x11c], eax
lea eax, [0x82768c]
mov dword [esp + 0x120], eax
nop
call fcn.0042abe0
add esp, 0xf8
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [0x82e3a0]
mov dword [esp + 0x11c], eax
lea eax, [0x827668]
mov dword [esp + 0x120], eax
nop
call fcn.0042abe0
add esp, 0xf8
ret
lea edx, [0xa7eb30]
jmp 0x494645
lea ecx, [0xa7eb80]
jmp 0x49463a
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [0x82e3a0]
mov dword [esp + 0x11c], eax
lea eax, [0x827648]
mov dword [esp + 0x120], eax
nop
call fcn.0042abe0
add esp, 0xf8
ret
mov eax, 2
mov ecx, ebx
call fcn.00451500
mov eax, 1
mov ecx, ebx
call fcn.00451500
xor eax, eax
mov ecx, ebx
call fcn.00451500
mov eax, ebx
mov ecx, esi
call fcn.00451500
mov eax, ebx
mov ecx, esi
call fcn.00451500
xor eax, eax
call fcn.00451500
xor eax, eax
call fcn.00451500
xor eax, eax
call fcn.00451500
nop
call fcn.0044fc40
jmp fcn.004945d0