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

Disassembly:
mov ecx, dword [0x62920c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc4]
cmp eax, dword [ecx + 8]
jbe 0x487016
sub esp, 0x144
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x486872
mov ecx, dword [esp + 0x15c]
test ecx, ecx
jne 0x4864cd
lea ecx, [0x6044a0]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4864da
lea edx, [0x604560]
mov ebx, dword [ecx + 0x18]
cmp ebx, 3
jg 0x486836
jl 0x4867fa
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xd4], edx
mov ebx, dword [ecx + 4]
test ebx, ebx
jne 0x48650a
mov ebx, dword [esp + 0x148]
jmp 0x48653f
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x148]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00486030
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4867c2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00487220
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48655b
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x48656f
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x48700c
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test eax, eax
jne 0x4867a0
mov dword [esp + 0xc8], edx
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x48659f
mov ebx, dword [eax + 4]
jmp 0x4865da
mov eax, dword [esp + 0x150]
mov dword [esp], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call fcn.004859a0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0xc8]
test ecx, ecx
jne 0x4865e2
xor ecx, ecx
jmp 0x486638
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00487220
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4865fe
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x486612
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x487003
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test eax, eax
jne 0x48677e
mov eax, dword [esp + 0xd4]
mov ecx, edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xd0], ecx
mov ebx, dword [esp + 0xe4]
mov ebp, dword [ebx + 4]
test ebp, ebp
jne 0x486651
xor ebp, ebp
jmp 0x48669b
mov eax, dword [ebx]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00487220
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48666f
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x486683
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x486ffa
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test eax, eax
jne 0x48675c
mov ebp, edx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
lea eax, [esp + 0x38]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0048bc80
mov eax, dword [esp + 0x38]
cmp eax, 6
jae 0x4866e6
mov eax, 1
jmp 0x4866f4
jne 0x4866f2
cmp dword [esp + 0x48], 1
setbe al
jmp 0x4866f4
xor eax, eax
mov byte [esp + 0x36], al
call fcn.0048a550
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp]
mov dword [esp + 0x4c], edx
test ecx, ecx
jne 0x486714
mov ecx, edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x58], edx
lea ebx, [0x4f2820]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044e1e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x64], edx
xor ebx, ebx
jmp 0x4868af
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00437d50
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00437d50
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00437d50
add esp, 0x144
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
call fcn.00437d50
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea eax, [0x53772c]
mov dword [esp + 0x168], eax
lea eax, [0x537258]
mov dword [esp + 0x16c], eax
call fcn.00437d50
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea eax, [0x53772c]
mov dword [esp + 0x168], eax
lea eax, [0x53725c]
mov dword [esp + 0x16c], eax
call fcn.00437d50
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea eax, [0x53772c]
mov dword [esp + 0x168], eax
lea eax, [0x53725c]
mov dword [esp + 0x16c], eax
call fcn.00437d50
add esp, 0x144
ret
inc ebx
cmp ebx, edx
jge 0x4869ed
mov ebp, dword [ecx + 0x18]
cmp ebx, ebp
jae 0x486ff1
mov ebp, dword [ecx + 0x14]
mov ebp, dword [ebp + ebx*4]
test ebp, ebp
jbe 0x4868ae
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
cmp esi, edi
je 0x4868ff
movzx edx, byte [esp + 0x36]
test dl, dl
je 0x486904
mov dword [esp + 0x60], ebp
and ebp, 0x10000003
cmp ebp, 3
jne 0x4868f9
mov ebp, dword [esp + 0x60]
mov esi, edi
jmp 0x486904
mov ebp, dword [esp + 0x60]
jmp 0x486904
movzx edx, byte [esp + 0x36]
mov edx, dword [esp + 0x58]
cmp ebx, edx
jae 0x486fe8
mov dword [esp + 0x3c], ebx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
lea ecx, [eax + ebx*4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], 2
call fcn.00489e60
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4869b5
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x5c], edx
lea ebx, [0x4f8660]
mov dword [esp], ebx
call fcn.0040bde0
mov eax, dword [esp + 4]
lea ecx, [0x4870a0]
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 8], ebx
mov dword [esp], eax
call fcn.004376e0
test eax, eax
jne 0x4869a9
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x3c]
jmp 0x4868ae
call fcn.00437d50
add esp, 0x144
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
call fcn.00437d50
add esp, 0x144
ret
lea edi, [esp + 0xfc]
xor eax, eax
call fcn.00469a7e
mov dword [esp], 2
call fcn.00488b90
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [esp + 0x140], edx
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], ebx
test ebp, ebp
jne 0x486c35
mov eax, dword [esp + 0x140]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
lea ecx, [0x487060]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa4]
mov dword [esp], eax
call fcn.004377c0
test eax, eax
jne 0x486c29
mov dword [esp + 0xfc], 0x48
mov dword [esp + 0x128], 0x100
mov edx, dword [esp + 0xd4]
movzx ebx, byte [edx]
test bl, bl
je 0x486ac3
mov dword [esp + 0x128], 0x101
mov word [esp + 0x12c], 0
mov ebx, dword [edx + 0x2c]
test ebx, ebx
je 0x486b31
lea eax, [edx + 0x2c]
mov ecx, dword [esp + 0x140]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20000
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0048b6c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test edx, edx
jne 0x486c07
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0x58]
test ebx, ebx
jbe 0x486fdf
mov ebp, dword [esp + 0xe0]
mov esi, dword [ebp]
mov dword [esp + 0x134], esi
cmp ebx, 1
jbe 0x486fd3
mov esi, dword [ebp + 4]
mov dword [esp + 0x138], esi
cmp ebx, 2
jbe 0x486fc7
mov eax, dword [ebp + 8]
mov dword [esp + 0x13c], eax
mov eax, dword [edx + 0x24]
lea ecx, [ebx + eax]
mov esi, dword [edx + 0x20]
cmp ebx, ecx
jb 0x486b85
mov edi, ebx
jmp 0x486bcd
mov dword [esp + 0x64], eax
mov dword [esp + 0xdc], esi
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
lea ecx, [0x4f2820]
mov dword [esp + 0x10], ecx
call fcn.0044e2a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0x58]
mov ebp, eax
mov ebx, edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0xd8], ebp
lea edx, [ebp + edi*4]
mov dword [esp], edx
mov dword [esp + 4], esi
shl eax, 2
mov dword [esp + 8], eax
call fcn.0046a180
mov eax, dword [esp + 0xd8]
movzx ecx, byte [esp + 0x36]
mov edx, dword [esp + 0x54]
xor ebx, ebx
jmp 0x486c58
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00437d50
add esp, 0x144
ret
call fcn.00437d50
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00437d50
add esp, 0x144
ret
inc ebx
cmp ebx, edx
jge 0x486c77
mov ebp, dword [eax + ebx*4]
test cl, cl
je 0x486c57
and ebp, 0x10000003
cmp ebp, 3
jne 0x486c57
mov dword [eax + ebx*4], 0
jmp 0x486c57
xor ecx, ecx
xor ebx, ebx
jmp 0x486c7e
inc ecx
cmp ecx, edx
jge 0x486c97
mov ebp, dword [eax + ecx*4]
test ebp, ebp
je 0x486c7d
cmp ebx, edx
jae 0x486fbe
mov dword [eax + ebx*4], ebp
inc ebx
jmp 0x486c7d
mov edx, dword [esp + 0x58]
cmp ebx, edx
ja 0x486fb7
test ebx, ebx
je 0x486cb7
mov ebp, dword [esp + 0xd4]
movzx esi, byte [ebp + 0x1c]
xor esi, 1
jmp 0x486cc0
mov ebp, dword [esp + 0xd4]
xor esi, esi
xchg esi, eax
mov byte [esp + 0x37], al
xchg esi, eax
mov dword [esp + 0x44], ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x486d56
test ebx, ebx
jbe 0x486fae
mov ecx, dword [esp + 0x140]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20002
mov dword [esp + 0xc], eax
shl ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0048b6c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test edx, edx
je 0x486d56
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00437d50
add esp, 0x144
ret
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00485a90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test edx, edx
jne 0x486f8c
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
or ecx, 0x80400
test edx, edx
je 0x486e46
mov ebp, dword [eax + 0x14]
mov esi, dword [eax + 0x18]
mov dword [esp], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
movzx edx, byte [esp + 0x37]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0xfc]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], ecx
call fcn.00489260
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
jmp 0x486eb3
mov edx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov esi, dword [esp + 0xc8]
mov dword [esp], esi
mov esi, dword [esp + 0xd0]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
movzx edx, byte [esp + 0x37]
mov byte [esp + 0x10], dl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0xfc]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x24], ecx
call fcn.00489c10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
mov eax, dword [esp + 0x168]
test eax, eax
jne 0x486f6a
mov eax, dword [esp + 0x74]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x487020]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.004377c0
test eax, eax
jne 0x486f5e
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.00437d50
add esp, 0x144
ret
call fcn.00437d50
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00437d50
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
call fcn.00437d50
add esp, 0x144
ret
xor eax, eax
mov ecx, eax
call fcn.00469920
mov ecx, ebx
call fcn.00469960
mov eax, ebx
mov ecx, edx
call fcn.00469920
mov eax, 2
mov ecx, eax
call fcn.00469920
mov eax, 1
mov ecx, eax
call fcn.00469920
xor eax, eax
mov ecx, eax
call fcn.00469920
mov eax, ebx
mov ecx, edx
call fcn.00469920
mov eax, ebx
mov ecx, ebp
call fcn.00469920
xor eax, eax
mov ecx, eax
call fcn.00469920
xor eax, eax
mov ecx, eax
call fcn.00469920
xor eax, eax
mov ecx, eax
call fcn.00469920
nop
call fcn.00468500
jmp fcn.00486460