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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d564b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jne 0x48801c
xor eax, eax
jmp 0x488686
cmp dword [ebp + 0xc], 0
jne 0x488029
xor eax, eax
jmp 0x488686
mov ecx, dword [ebp - 0x10]
add ecx, 0x390
call fcn.0040c4e0
and eax, 0xff
test eax, eax
je 0x488047
xor eax, eax
jmp 0x488686
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38c]
add ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38c], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x390
call fcn.0048a090
mov ecx, eax
call fcn.00594960
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0xfc]
cmp ecx, dword [eax + 0x388]
ja 0x4880b5
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xfc], 0
jbe 0x4880b5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xfc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3a0]
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4 - 4], edx
jmp 0x4880bc
xor eax, eax
jmp 0x488686
mov ecx, dword [ebp - 0x10]
add ecx, 0x390
call fcn.00592470
mov eax, dword [ebp - 0x14]
mov word [eax + 0x100], 3
mov ecx, dword [ebp + 0xc]
call fcn.00402fa0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x24], eax
mov dword [0x6c82f0], 0
jmp 0x4880ff
mov edx, dword [0x6c82f0]
add edx, 1
mov dword [0x6c82f0], edx
cmp dword [0x6c82f0], 3
jge 0x488143
mov eax, dword [0x6c82f0]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 0xe0], 0
mov edx, dword [0x6c82f0]
mov eax, dword [ebp - 0x14]
mov word [eax + edx*2 + 0xec], 0
mov ecx, dword [0x6c82f0]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2 + 0xa6], 0
jmp 0x4880f0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.00402fa0
shl eax, 8
xor ecx, ecx
mov cx, word [0x6bc690]
and ecx, 0xf
shl ecx, 4
or eax, ecx
xor edx, edx
mov dx, word [0x6bc692]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xf4], eax
xor edx, edx
mov dx, word [0x6bc696]
mov esi, edx
shl esi, 0x1b
xor eax, eax
mov ax, word [0x6bc698]
shl eax, 0x16
or esi, eax
xor ecx, ecx
mov cx, word [0x6bc69a]
shl ecx, 0x10
or esi, ecx
xor edx, edx
mov dx, word [0x6bc69c]
shl edx, 0xa
or esi, edx
mov ecx, dword [ebp + 0xc]
call fcn.00487840
and eax, 0xffff
or esi, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xf8], esi
push 0xd
mov ecx, dword [ebp + 8]
call fcn.00403f40
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
push ecx
call fcn.005b4f00
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx]
mov word [eax + 0x2c], dx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cx, word [eax + 0x2c]
mov esi, ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403970
and eax, 0xffff
cmp esi, eax
jle 0x48824f
mov ecx, dword [ebp - 0x18]
call fcn.00403970
mov edx, dword [ebp - 0x14]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + 0x30]
mov word [eax + 0xb0], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0xbc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + 0x38]
mov word [eax + 0xb8], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + 0x40]
mov word [eax + 0xc0], dx
mov ecx, dword [ebp + 0xc]
call fcn.004da4e0
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0xc], ax
mov ecx, dword [ebp + 0xc]
call fcn.004da530
mov edx, dword [ebp - 0x14]
mov word [edx + 0xe], ax
mov ecx, dword [ebp + 0xc]
call fcn.004bf0f0
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x10], ax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x44], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x48]
mov word [edx + 0x48], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x4a]
mov word [edx + 0x4a], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x4c]
mov word [edx + 0x4c], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x4e]
mov word [edx + 0x4e], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x50]
mov word [edx + 0x50], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x52]
mov word [edx + 0x52], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x54]
mov word [edx + 0x54], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x56]
mov word [edx + 0x56], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x58]
mov word [edx + 0x58], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x5a]
mov word [edx + 0x5a], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x5c]
mov word [edx + 0x5c], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x5e]
mov word [edx + 0x5e], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x60]
mov word [edx + 0x60], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x62]
mov word [edx + 0x62], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x64]
mov word [edx + 0x64], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x66]
mov word [edx + 0x66], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x68]
mov word [edx + 0x68], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x6a]
mov word [edx + 0x6a], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x6c]
mov word [edx + 0x6c], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x6e]
mov word [edx + 0x6e], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x70]
mov word [edx + 0x70], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x72]
mov word [edx + 0x72], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x74]
mov word [edx + 0x74], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x76]
mov word [edx + 0x76], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x9e]
mov word [edx + 0x9e], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x98]
mov dword [edx + 0x98], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x9c]
mov word [edx + 0x9c], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0xa0]
mov word [edx + 0xa0], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0xa2]
mov word [edx + 0xa2], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0xa4]
mov word [edx + 0xa4], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x8c]
mov word [edx + 0x8c], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x90]
mov dword [edx + 0x90], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x94]
mov word [edx + 0x94], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0xac]
mov word [edx + 0xac], cx
push 0x10
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x78
push eax
call fcn.005b4f00
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ax, word [edx + 0xa6]
mov word [ecx + 0xa6], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ax, word [edx + 0xa8]
mov word [ecx + 0xa8], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ax, word [edx + 0xaa]
mov word [ecx + 0xaa], ax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0056e700
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x44]
and ecx, 0x10000
test ecx, ecx
je 0x48862b
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
xor ecx, ecx
mov cx, word [eax + 0xb8]
test ecx, ecx
je 0x48862b
push 0x30
call fcn.005b4560
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x488609
mov edx, dword [ebp - 0x14]
add edx, 0x78
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov ax, word [edx + 0xb8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00487500
mov dword [ebp - 0x28], eax
jmp 0x488610
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x104], eax
jmp 0x488638
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x104], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x44]
and ecx, 0x1000000
test ecx, ecx
je 0x488683
mov edx, dword [ebp - 0x14]
add edx, 0x84
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x80
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x78
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
xor edx, edx
mov dx, word [ecx]
push edx
mov ecx, dword [0x6bc79c]
call fcn.00427690
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc