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

Disassembly:
mov ecx, dword [0x5e82a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4880f2
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x13c]
test edx, edx
jne 0x4878c8
mov dword [esp + 0x8c], edx
mov eax, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00489850
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [0x5e83c0]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0xc]
test edx, edx
je 0x4878b7
mov edx, edi
call fcn.004635f0
mov dword [edi], ebx
mov esi, dword [ecx + 0x13c]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x88]
mov edi, edx
mov dword [ecx + 0x13c], ebx
test ebp, ebp
jne 0x487938
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
test ecx, ecx
jg 0x4878dc
test edx, edx
mov edx, 0xffffffff
jmp 0x4878e0
test edx, edx
mov edx, ecx
setne bl
mov ebp, dword [eax]
mov ebp, dword [ebp + 0x13c]
mov dword [esp + 0x8c], ebp
test byte [ebp], al
lea esi, [ebp + 4]
mov dword [esp + 0x74], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x38], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x30], edi
xor edi, edi
mov dword [esp + 0x80], edi
xor edi, edi
mov dword [esp + 0x7c], edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x78], edi
xor edi, edi
jmp 0x487a73
mov dword [esp + 0x84], edi
lea eax, [0x4f01c0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x4fd470]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x5e83c0]
test edx, edx
je 0x487989
call fcn.004635e0
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5e83c0]
test ecx, ecx
jne 0x4879a9
mov ecx, dword [esp + 0x88]
jmp 0x4879b7
call fcn.004635e0
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x529ab0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
mov edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x8c]
mov ebx, 1
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x74]
test edx, edx
je 0x487fd4
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx edx, byte [eax + 0x258]
test dl, dl
jne 0x487fd0
mov dword [esp + 0x24], edi
test bl, bl
je 0x487acf
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0046d8a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x487e94
mov ebp, dword [esp + 0x8c]
lea eax, [ebp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x103
mov dword [esp + 8], 0x103
call fcn.0046ca70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, 1
jne 0x487afc
cmp byte [ecx], 0x2e
je 0x487b08
cmp eax, 2
jne 0x487b37
cmp word [ecx], 0x2e2e
jne 0x487b37
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
jmp 0x487a38
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x9c]
test edx, edx
jne 0x487c06
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x487b61
mov esi, dword [esp + 0x78]
jmp 0x487ba6
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4e8700]
mov dword [esp + 0x10], eax
call fcn.0044ac40
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x9c]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
lea edi, [esi + ebx*8 - 4]
mov dword [edi], eax
mov eax, dword [0x5e83c0]
lea edi, [esi + ebx*8 - 8]
test eax, eax
je 0x487bd1
mov eax, edi
call fcn.004635f0
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x9c]
mov edi, eax
mov dword [edi], ecx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ebp
mov edi, dword [esp + 0x80]
mov dword [esp + 0x78], esi
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x7c]
jmp 0x487e56
nop
lea eax, [0x4f7080]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 4]
test edx, 0x400
je 0x487c67
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x5e83c0]
test edx, edx
jne 0x487c7e
mov edx, dword [esp + 0x68]
jmp 0x487c8e
call fcn.004635f0
mov edx, dword [esp + 0x68]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], edx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
mov ebp, dword [ebx + 0x254]
mov ebx, dword [ebx + 0x250]
mov dword [eax + 0x40], ebp
mov ebp, dword [0x5e83c0]
test ebp, ebp
je 0x487cc5
call fcn.004635f0
mov dword [edi], ebx
mov ebp, dword [eax + 0x3c]
mov dword [edi + 4], ebp
mov dword [esp + 0x6c], eax
mov dword [eax + 0x3c], ebx
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0x9c]
cmp ebx, 1
jne 0x487d8c
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x487cf6
mov edi, dword [esp + 0x80]
jmp 0x487d48
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4eec40]
mov dword [esp + 0x10], eax
call fcn.0044ac40
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov edi, eax
mov esi, ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x8c]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x529cd8]
mov dword [ebx], ecx
mov ebx, dword [0x5e83c0]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x487d79
mov ebx, edi
call fcn.004635f0
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x94]
mov edi, ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x7c]
jmp 0x487e36
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x487d9f
mov edi, dword [esp + 0x7c]
jmp 0x487dee
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4f17c0]
mov dword [esp + 0x10], eax
call fcn.0044ac40
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x6c]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x529da8]
mov dword [ebx], ecx
mov ebx, dword [0x5e83c0]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x487e1f
mov ebx, edi
call fcn.004635f0
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x94]
mov edi, ebx
mov dword [ecx], eax
mov eax, esi
mov ecx, ebp
mov ebx, edi
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
jmp 0x487a38
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], ebp
lea eax, [0x529ac4]
cmp ecx, eax
jne 0x487eda
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x529480]
mov dword [esp + 8], eax
call fcn.00403ef0
movzx eax, byte [esp + 0xc]
test al, al
je 0x487eda
mov eax, dword [esp + 0x98]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x487fd6
lea eax, [0x4f01c0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x4fe256]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x5e83c0]
test edx, edx
je 0x487f24
call fcn.004635e0
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5e83c0]
test ecx, ecx
jne 0x487f41
mov ecx, dword [esp + 0x70]
jmp 0x487f4c
call fcn.004635e0
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc0], ecx
lea ecx, [0x529ab0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
test ecx, ecx
jmp 0x487fd6
test ecx, ecx
jg 0x487fe6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
jmp 0x487ffb
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x38]
add edx, ebx
test edx, edx
je 0x48806e
mov edx, dword [esp + 0x78]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x90
ret
mov eax, dword [0x5bef78]
mov ecx, dword [0x5bef7c]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0x90
ret
call fcn.004621e0
jmp fcn.00487820