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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x486083
sub esp, 0x94
mov eax, 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov byte [esp + 0x22], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
movzx eax, byte [esp + 0xb0]
test al, al
je 0x485826
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x4857ec
mov edx, 1
jmp 0x48581d
mov eax, dword [esp + 0x98]
lea edx, [eax + ecx*8 - 8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov ebx, dword [ebx + 0x50]
mov dword [esp], edx
call ebx
cmp dword [esp + 4], 0x17
setne al
mov ecx, dword [esp + 0x9c]
mov edx, eax
movzx eax, byte [esp + 0xb0]
test dl, dl
je 0x48582d
jmp 0x48605e
mov ecx, dword [esp + 0x9c]
lea edx, [0x942be0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x84]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0xa8]
lea ebp, [ecx + ebx]
cmp ebp, 4
jle 0x485916
cmp ebp, 8
jle 0x4858fa
cmp ebp, 0x10
jle 0x4858de
cmp ebp, 0x20
jle 0x4858c2
cmp ebp, 0x40
jle 0x4858a6
cmp ebp, 0x80
jg 0x486046
lea eax, [0x988fc0]
mov dword [esp], eax
call fcn.0040b920
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, pe_nt_image_headers32
jmp 0x485930
lea eax, [0x989140]
mov dword [esp], eax
call fcn.0040b920
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x40
jmp 0x485930
lea eax, [0x989080]
mov dword [esp], eax
call fcn.0040b920
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x20
jmp 0x485930
lea eax, [0x989020]
mov dword [esp], eax
call fcn.0040b920
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x10
jmp 0x485930
lea eax, [0x9891a0]
mov dword [esp], eax
call fcn.0040b920
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 8
jmp 0x485930
lea eax, [0x9890e0]
mov dword [esp], eax
call fcn.0040b920
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov esi, dword [esp + 0x60]
test byte [esi], al
mov ebx, dword [0x12ad060]
test ebx, ebx
jne 0x485951
mov edi, eax
call fcn.00460106
jmp 0x485973
mov dword [esp + 0x30], edx
lea ecx, [0x99ab80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00411080
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
mov ecx, dword [esp + 0x70]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x485a1b
mov dword [esp + 0x44], 0
mov eax, dword [ebx + 8]
shr eax, 0x18
mov byte [esp + 0x44], al
mov eax, dword [ebx + 8]
shr eax, 0x10
mov byte [esp + 0x45], al
mov eax, dword [ebx + 8]
shr eax, 8
mov byte [esp + 0x46], al
mov eax, dword [ebx + 8]
mov byte [esp + 0x47], al
mov dword [esp], edi
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.00484370
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
lea esi, [eax + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x9c]
mov ebp, ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
cmp ebx, esi
jle 0x485ac2
mov dword [esp + 0x38], esi
lea ebp, [ebp + esi*8]
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp]
lea esi, [0xcb1d7c]
cmp ebp, esi
jne 0x48602a
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + 1]
cmp edx, esi
jae 0x485a8f
mov dword [esp + 0x68], ebx
mov dword [esp + 0x28], edi
lea eax, [0x9da820]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00448250
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, dword [0x12ad060]
lea esi, [ecx + ebp*4]
test edx, edx
jne 0x485ab0
mov dword [ecx + ebp*4], ebx
jmp 0x485994
mov edx, edi
mov edi, esi
mov eax, ebx
call fcn.0045f9a0
mov edi, edx
jmp 0x485994
mov dword [esp + 0x34], edx
mov dword [esp + 0x80], ecx
movzx ebp, byte [esp + 0xb0]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x485b09
mov byte [esp + 0x23], 0
mov byte [esp + 0x23], 0x76
mov dword [esp], edi
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00484370
mov edi, dword [esp + 0x10]
mov byte [esp + 0x23], 0
mov byte [esp + 0x23], 0x2e
mov dword [esp], edi
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00484370
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
xor edi, edi
jmp 0x485bca
mov dword [esp + 0x44], 0
mov edx, dword [ecx + 8]
shr edx, 0x18
mov byte [esp + 0x44], dl
mov edx, dword [ecx + 8]
shr edx, 0x10
mov byte [esp + 0x45], dl
mov edx, dword [ecx + 8]
shr edx, 8
mov byte [esp + 0x46], dl
mov ecx, dword [ecx + 8]
mov byte [esp + 0x47], cl
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.00484370
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
cmp ecx, edi
jle 0x485c79
lea edx, [edx + edi*8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x64], ecx
mov edx, dword [edx]
lea ecx, [0xcb1d7c]
cmp edx, ecx
jne 0x48600e
mov dword [esp + 0x38], edi
lea edx, [esi + 1]
cmp ebp, edx
jae 0x485c3e
mov dword [esp + 0x2c], esi
lea eax, [0x9da820]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00448250
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
lea ecx, [0xcb1d7c]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebp
mov ecx, dword [0x12ad060]
lea edx, [ebx + esi*4]
test ecx, ecx
jne 0x485c63
mov ecx, dword [esp + 0x64]
mov dword [ebx + esi*4], ecx
jmp 0x485b58
mov edi, edx
mov esi, eax
mov eax, dword [esp + 0x64]
call fcn.0045f9a0
mov ecx, eax
mov eax, esi
jmp 0x485b58
cmp esi, 0x32
jg 0x485ff6
mov edx, dword [esp + 0x6c]
mov byte [edx + 0xc], 0
mov dword [edx + 8], eax
mov ebx, dword [esp + 0x9c]
mov word [edx + 0x20], bx
mov word [edx + 0x22], cx
movzx ebx, byte [esp + 0xb0]
test bl, bl
je 0x485cb2
or ecx, 0xffff8000
mov word [edx + 0x22], cx
mov dword [esp + 0x40], eax
lea ecx, [0x12862e8]
mov dword [esp], ecx
lea edx, [0x95d120]
mov dword [esp + 4], edx
lea ebx, [esp + 0x40]
mov dword [esp + 8], ebx
call fcn.004765c0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x485d09
lea eax, [0x93dca0]
cmp ecx, eax
jne 0x485fe0
mov ecx, dword [edx]
mov dword [esp + 0x7c], ecx
mov edx, dword [edx + 4]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x485f90
lea eax, [0x12862e0]
mov dword [esp], eax
call fcn.00477a30
lea eax, [0xc02830]
mov dword [esp + 0x90], eax
lea eax, [0x12862e0]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x22], 1
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
lea ecx, [0x12862e8]
mov dword [esp], ecx
lea ecx, [0x95d120]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.004765c0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x485d91
lea eax, [0x93dca0]
cmp ecx, eax
jne 0x485f65
mov eax, dword [edx]
mov dword [esp + 0x78], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x485f01
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x486090]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00486210
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004854c0
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x485dfe
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x485e6d
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.00484e30
movzx eax, byte [esp + 0xc]
test al, al
je 0x485def
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
lea edx, [esp + 0x48]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov byte [esp + 0x22], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00477dd0
add esp, 0x94
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
call fcn.00480f90
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0045c5a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov eax, dword [esp + 0x48]
mov dword [esp], ecx
lea edx, [esp + 0x48]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov byte [esp + 0x22], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00477dd0
add esp, 0x94
ret
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x485d91
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.00484e30
movzx eax, byte [esp + 0xc]
test al, al
je 0x485ef2
lea eax, [0xcb1d7c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb8], eax
mov byte [esp + 0x22], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00477dd0
add esp, 0x94
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x95c760]
mov dword [esp + 8], eax
call fcn.00408da0
mov ebp, dword [esp + 0x34]
lea ebx, [ebp + 1]
lea eax, [0x93dca0]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jge 0x485d09
mov dword [esp + 0x34], ebx
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.00484e30
movzx eax, byte [esp + 0xc]
test al, al
je 0x485f7b
lea eax, [0xcb1d7c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb8], eax
add esp, 0x94
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x95c760]
mov dword [esp + 8], eax
call fcn.00408da0
lea eax, [0x95cee0]
mov dword [esp], eax
lea eax, [0xc954f4]
mov dword [esp + 4], eax
call fcn.00434020
mov dword [esp], edx
lea eax, [0x9da820]
mov dword [esp + 4], eax
lea eax, [0x9ce640]
mov dword [esp + 8], eax
call fcn.00408e40
mov dword [esp], ebp
lea eax, [0x9da820]
mov dword [esp + 4], eax
lea eax, [0x9ce640]
mov dword [esp + 8], eax
call fcn.00408e40
lea eax, [0x95cee0]
mov dword [esp], eax
lea eax, [0xc954ec]
mov dword [esp + 4], eax
call fcn.00434020
lea eax, [0x95cee0]
mov dword [esp], eax
lea eax, [0xc954e4]
mov dword [esp + 4], eax
call fcn.00434020
nop
call fcn.00432fb0
add esp, 0x94
ret
call fcn.0045e560
jmp fcn.00485780