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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x485c08
sub esp, 0x98
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x48], edx
test edx, edx
je 0x485482
jmp 0x4854aa
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x98
ret
jmp 0x4854ac
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov edx, dword [edx + 0x10c]
test edx, edx
jne 0x4854c1
jmp 0x4854c6
jmp 0x4855d3
lea eax, [0x4a7de0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x2710
call fcn.00448290
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x2710
mov ecx, dword [esp + 0x9c]
test byte [ecx], al
mov dword [ecx + 0x110], 0
mov dword [ecx + 0x114], 0x2710
lea edi, [ecx + 0x10c]
mov edx, dword [0x54cbf0]
test edx, edx
je 0x485534
jmp 0x48553c
mov dword [ecx + 0x10c], eax
jmp 0x485543
call fcn.0045d8e0
jmp 0x485543
mov eax, dword [esp + 0x9c]
test byte [eax], al
mov eax, dword [eax + 0x114]
mov dword [esp + 0x48], eax
lea ecx, [0x4a7ea0]
mov dword [esp], ecx
mov dword [esp + 4], 0
shl eax, 2
mov dword [esp + 8], eax
call fcn.00448290
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
shl ecx, 2
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov dword [edx + 0x11c], 0
mov dword [edx + 0x120], ecx
lea edi, [edx + 0x118]
mov ecx, dword [0x54cbf0]
test ecx, ecx
je 0x4855c2
jmp 0x4855ca
mov dword [edx + 0x118], eax
jmp 0x4855d1
call fcn.0045d8e0
jmp 0x4855d1
jmp 0x4855d3
jmp 0x4855d5
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov edx, dword [edx + 0x11c]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x9c]
test byte [ebx], al
cmp dword [ebx + 0x124], edx
jge 0x4855fe
jmp 0x485812
mov eax, dword [esp + 0x9c]
test byte [eax], al
mov eax, dword [eax + 0x114]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x9c]
test byte [eax], al
mov eax, dword [eax + 0x110]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
cmp dword [esp + 0x28], eax
jg 0x485641
jmp 0x48564e
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x28], eax
jmp 0x485650
jmp 0x485650
lea eax, [0x4a7e20]
mov dword [esp], eax
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov dword [eax], 0
mov eax, dword [esp + 0x9c]
test byte [eax], al
mov eax, dword [eax + 0x110]
mov dword [esp + 0x40], eax
lea ecx, [eax + 1]
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x9c]
test byte [eax], al
mov edx, dword [eax + 0x114]
mov eax, dword [eax + 0x10c]
cmp edx, ecx
jae 0x4856a4
jmp 0x485c02
jmp 0x4856a6
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov ebx, dword [esp + 0x9c]
test byte [ebx], al
mov ebx, dword [ebx + 0x110]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x9c]
test byte [ebx], al
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
cmp ecx, eax
ja 0x4856f9
jmp 0x485bfd
lea eax, [ebx + eax*2]
mov dword [esp + 0x4c], eax
mov edx, dword [0x522328]
mov ecx, dword [esp + 0x38]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x485747
jmp 0x48576f
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x98
ret
mov ebx, dword [esp + 0x9c]
test byte [ebx], al
mov ebx, dword [ebx + 0x110]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x50]
mov ebp, dword [ebp]
lea ecx, [ebx + ebp]
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x9c]
test byte [ebx], al
mov edx, dword [ebx + 0x114]
mov ebx, dword [ebx + 0x10c]
cmp edx, ecx
jae 0x4857ae
jmp 0x485bf8
jmp 0x4857b0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x9c]
test byte [edx], al
jmp 0x4857c7
jmp 0x4857c9
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov dword [edx + 0x110], 0
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov ebx, dword [edx + 0x118]
mov edx, dword [edx + 0x120]
jmp 0x4857f3
jmp 0x4857f5
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x30], 0
jmp 0x485994
jmp 0x485814
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov eax, dword [edx + 0x124]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov ecx, dword [edx + 0x11c]
mov ebx, dword [edx + 0x118]
mov edx, dword [edx + 0x120]
jmp 0x485844
cmp ecx, eax
jae 0x48584d
jmp 0x48598f
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, ebx
mov dword [esp + 0x68], edx
sub ecx, eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 0
jmp 0x48587a
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x48], edx
cmp dword [esp + 0x2c], edx
setl dl
mov byte [esp + 0x1f], dl
jl 0x485891
jmp 0x4858a9
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x40], edx
cmp dword [esp + 0x2c], edx
setl dl
mov byte [esp + 0x1f], dl
jmp 0x4858ab
jmp 0x4858ab
movzx edx, byte [esp + 0x1f]
test dl, dl
jne 0x4858b9
jmp 0x485939
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp eax, ecx
jb 0x4858ce
jmp 0x48598a
add edx, eax
movzx edx, byte [edx]
mov byte [esp + 0x1e], dl
cmp dl, 0x1a
je 0x4858de
jmp 0x48590d
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4858e8
jmp 0x485909
mov eax, dword [esp + 0x9c]
test byte [eax], al
mov ecx, dword [esp + 0x9c]
test byte [ecx], al
mov eax, dword [eax + 0x124]
inc eax
mov dword [ecx + 0x124], eax
jmp 0x48590b
jmp 0x48590b
jmp 0x48593b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
cmp eax, ecx
jb 0x485925
jmp 0x485985
add ebx, eax
mov byte [ebx], dl
jmp 0x48592b
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
jmp 0x48587a
jmp 0x48593b
mov eax, dword [esp + 0x9c]
test byte [eax], al
mov ecx, dword [esp + 0x9c]
test byte [ecx], al
mov eax, dword [eax + 0x124]
add eax, dword [esp + 0x2c]
mov dword [ecx + 0x124], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x98
ret
call fcn.0045d960
call fcn.0045d960
call fcn.0045d9c0
mov edx, dword [esp + 0x60]
mov dword [esp + 0x44], edx
cmp dword [esp + 0x30], edx
jl 0x4859a7
jmp 0x485b5f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
cmp eax, ecx
jb 0x4859bc
jmp 0x485bf3
lea eax, [edx + eax*2]
movzx eax, word [eax]
mov dword [esp + 0x20], eax
mov dword [esp], eax
call fcn.00463200
movzx eax, byte [esp + 4]
mov byte [esp + 0x1f], al
test al, al
jne 0x4859e0
jmp 0x485ab6
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x30]
inc ebp
cmp ebx, ebp
je 0x4859f3
jmp 0x485a61
mov ebx, dword [esp + 0x50]
mov ebx, dword [ebx]
test ebx, ebx
ja 0x4859ff
jmp 0x485a57
mov ebx, dword [esp + 0x9c]
test byte [ebx], al
mov edx, dword [ebx + 0x114]
cmp edx, 1
jae 0x485a18
jmp 0x485be9
jmp 0x485a1a
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov dword [edx + 0x110], 1
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov ecx, dword [edx + 0x110]
mov edx, dword [edx + 0x10c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
ja 0x485a4f
jmp 0x485be2
mov word [edx], bx
jmp 0x485b61
mov dword [esp + 0x20], 0xfffd
jmp 0x485ab4
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x30]
lea eax, [ebx + 1]
cmp ecx, eax
ja 0x485a79
jmp 0x485bdd
lea eax, [edx + ebx*2 + 2]
movzx eax, word [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00463260
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
cmp eax, 0xfffd
jne 0x485aa5
jmp 0x485ab0
mov ebx, dword [esp + 0x30]
inc ebx
mov dword [esp + 0x30], ebx
jmp 0x485ab2
jmp 0x485ab2
jmp 0x485ab4
jmp 0x485ab8
jmp 0x485ab8
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
cmp ecx, edx
jbe 0x485add
jmp 0x485bd8
cmp eax, ecx
jbe 0x485ae6
jmp 0x485bd3
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, ebx
mov dword [esp + 0x80], edx
sub ecx, eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
call fcn.0047f3f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x7c]
cmp edx, ecx
jae 0x485b49
jmp 0x485bce
jmp 0x485b4b
mov dword [esp + 0x78], ecx
jmp 0x485b51
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x30], edx
jmp 0x485994
jmp 0x485b61
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov dword [edx + 0x11c], ebx
mov dword [edx + 0x120], ebp
lea edi, [edx + 0x118]
mov ebx, dword [0x54cbf0]
test ebx, ebx
je 0x485b94
jmp 0x485b9c
mov dword [edx + 0x118], eax
jmp 0x485ba3
call fcn.0045d8e0
jmp 0x485ba3
mov edx, dword [esp + 0x9c]
test byte [edx], al
mov dword [edx + 0x124], 0
mov edx, dword [esp + 0x50]
mov edx, dword [edx]
test edx, edx
je 0x485bc2
jmp 0x485bc7
jmp 0x485814
jmp 0x485bc9
jmp 0x4855d5
call fcn.0045d9a0
call fcn.0045d9c0
call fcn.0045d9a0
call fcn.0045d960
xor eax, eax
call fcn.0045d960
mov ecx, 1
call fcn.0045d9a0
call fcn.0045d960
call fcn.0045d9a0
call fcn.0045d960
call fcn.0045d9a0
nop
call fcn.0045c4a0
jmp fcn.00485430