Function at 0x490d70
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 0x491595
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 0x49150f
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x491504
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4914f9
mov ebx, dword [ecx + 0x18]
cmp ebx, 3
jg 0x4914bc
jl 0x49147f
mov dword [esp + 0x110], ecx
mov dword [esp + 0xa0], edx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
test ebx, ebx
jne 0x491414
mov ebx, dword [esp + 0xfc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004920a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x491403
xor eax, eax
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], edx
test ebx, ebx
jne 0x4913e0
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
test edx, edx
je 0x4913a0
test edx, edx
jne 0x491326
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 0x4912b8
xor ebp, ebp
mov dword [esp + 0xa4], ebp
lea eax, [0x8c1180]
mov dword [esp], eax
call fcn.0045cb30
mov dword [esp + 0x58], 4
lea eax, [0x6bb1ac]
mov dword [esp + 0x68], eax
lea eax, [0x8c1180]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
call fcn.00429f20
test eax, eax
jne 0x4912ab
call fcn.00494b50
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, [0x659c40]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0043c2b0
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 0x490f2b
inc ebx
cmp ebx, edx
jge 0x49101a
mov ebp, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
cmp ebx, esi
jae 0x491576
mov ebp, dword [ebp + ebx*4]
test ebp, ebp
jbe 0x490f2a
mov esi, dword [esp + 0x40]
cmp ebx, esi
jae 0x49156d
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.00494c20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x490fe9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + eax*4]
mov dword [esp], 0xc
lea ebx, [0x6bb1cc]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00429e30
test eax, eax
jne 0x490fdc
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
jmp 0x490f2a
nop
call fcn.0042a660
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.0042a660
add esp, 0xf8
ret
lea edi, [esp + 0xb4]
mov edx, eax
xor eax, eax
call fcn.00450fbf
mov dword [esp + 0xb4], 0x44
mov dword [esp + 0xe0], 0x100
mov ecx, dword [esp + 0xa0]
movzx ebx, byte [ecx]
test bl, bl
je 0x491059
mov dword [esp + 0xe0], 0x101
mov ebx, dword [esp + 0x40]
test ebx, ebx
jbe 0x491564
mov ebp, dword [edx]
mov dword [esp + 0xec], ebp
cmp ebx, 1
jbe 0x491558
mov ebp, dword [edx + 4]
mov dword [esp + 0xf0], ebp
cmp ebx, 2
jbe 0x49154c
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 0x49120e
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.004903b0
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.00494860
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 0x4911eb
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], 0xc
lea ecx, [0x6bb1cc]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call fcn.00429f20
test eax, eax
jne 0x4911de
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.0042a660
add esp, 0xf8
ret
nop
call fcn.0042a660
add esp, 0xf8
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
nop
call fcn.0042a660
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.004903b0
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.00494700
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], eax
jmp 0x49116a
nop
call fcn.0042a660
add esp, 0xf8
ret
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.004920a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x491316
xor ecx, ecx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], eax
test ebx, ebx
jne 0x4912f3
mov ebp, ecx
jmp 0x490e98
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
nop
call fcn.0042a660
add esp, 0xf8
ret
test ecx, ecx
jbe 0x49157f
mov ecx, edx
xor eax, eax
xor ebx, ebx
jmp 0x4912da
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004920a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x491392
xor eax, eax
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], edx
test ebx, ebx
jne 0x49136f
mov ecx, dword [esp + 0xa0]
mov edx, eax
mov eax, dword [esp + 0xac]
jmp 0x490e7b
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
nop
call fcn.0042a660
add esp, 0xf8
ret
test ecx, ecx
jbe 0x491586
xor edx, edx
xor ebx, ebx
jmp 0x491348
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.004902c0
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
jmp 0x490e71
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
nop
call fcn.0042a660
add esp, 0xf8
ret
test ecx, ecx
jbe 0x49158d
xor edx, edx
xor ebx, ebx
jmp 0x490e3f
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.004908e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x49144e
mov ecx, ebx
mov ebx, eax
mov eax, ecx
jmp 0x490e19
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], edx
nop
call fcn.0042a660
add esp, 0xf8
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [0x7053a0]
mov dword [esp + 0x11c], eax
lea eax, [0x70037c]
mov dword [esp + 0x120], eax
nop
call fcn.0042a660
add esp, 0xf8
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [0x7053a0]
mov dword [esp + 0x11c], eax
lea eax, [0x700364]
mov dword [esp + 0x120], eax
nop
call fcn.0042a660
add esp, 0xf8
ret
lea edx, [0x8ae460]
jmp 0x490de5
lea ecx, [0x8ae4a0]
jmp 0x490dda
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [0x7053a0]
mov dword [esp + 0x11c], eax
lea eax, [0x700348]
mov dword [esp + 0x120], eax
nop
call fcn.0042a660
add esp, 0xf8
ret
mov eax, 2
mov ecx, ebx
call fcn.00450da0
mov eax, 1
mov ecx, ebx
call fcn.00450da0
xor eax, eax
mov ecx, ebx
call fcn.00450da0
mov eax, ebx
mov ecx, esi
call fcn.00450da0
mov eax, ebx
mov ecx, esi
call fcn.00450da0
xor eax, eax
call fcn.00450da0
xor eax, eax
call fcn.00450da0
xor eax, eax
call fcn.00450da0
nop
call fcn.0044f4e0
jmp fcn.00490d70