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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push 8
lea edx, [esp + 0x90]
mov dword [esp + 0x90], eax
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x9c], ecx
call dword [0x100ef7ec]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x1cc]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0xc], esi
jne 0x488e36
mov esi, dword [ebp + 0x10]
mov ebx, edi
call fcn.005056b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0xc]
xor ebx, ebx
mov edi, 0xff
mov eax, 0x200
xor ecx, ecx
mov dword [esp + 0x28], edi
call fcn.0053b3c0
mov dword [esp + 0x20], eax
mov word [eax], bx
mov eax, 0x200
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edi
call fcn.0053b3c0
mov word [eax], bx
mov esi, dword [esi + 8]
mov dword [esp + 0x18], ebx
mov ebx, dword [esi]
lea edi, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.00475be0
mov ebx, dword [esi + 0xc]
lea edi, [esp + 0x14]
call fcn.00475be0
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x2c]
shr eax, 1
cmp eax, edi
je 0x488ec2
jbe 0x488f97
mov eax, dword [esp + 0x30]
lea ecx, [edi + edi]
movzx edx, cx
shr edx, 1
cmp word [eax + edx*2], 0x5c
jne 0x488f97
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x38]
push ecx
call dword [0x100ef7e0]
mov eax, dword [esp + 0x2c]
cmp ax, word [esp + 0x34]
jb 0x488f9b
mov edx, dword [esp + 0x30]
mov dword [esp + 0x84], eax
push 8
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0x94], edx
call dword [0x100ef7ec]
mov dx, word [esp + 0x34]
push 1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x84]
push ecx
mov word [esp + 0x88], dx
call dword [0x100ef7cc]
neg eax
sbb eax, eax
inc eax
je 0x488f9b
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xbc]
push ecx
call dword [0x100ef7e0]
mov esi, dword [ebp + 0x10]
lea ebx, [esp + 0xb8]
call fcn.005056b0
lea esi, [esp + 0xc0]
lea ecx, [esp + 0x2c]
call fcn.00505480
mov esi, dword [ebp + 0x10]
mov ebx, eax
call fcn.005056b0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x488f7d
call fcn.00472510
mov eax, dword [esp + 0x20]
test eax, eax
je 0x488e27
call fcn.00472510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0x14]
xor eax, eax
cmp esi, eax
je 0x489075
mov dword [esp + 0x98], eax
mov edx, 0x100ef4b4
mov ecx, 0x100ef4b8
mov dword [esp + 0xa0], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa0]
lea ebx, [esp + 0x13]
mov edi, edx
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
call fcn.00535220
test al, al
jne 0x489002
xor ebx, ebx
jmp 0x48900d
mov eax, dword [esp + 0x6c]
add dword [eax], 1
mov al, 1
xor ebx, ebx
push esi
mov byte [esp + 0x7c], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x78], bl
je 0x489067
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [edi + 0x10]
cmp dword [ecx], ebx
lea eax, [edi + 0x10]
jne 0x489067
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [edi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x489067
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, eax
je 0x489151
mov dword [esp + 0xa8], eax
mov edx, 0x100ef4b4
mov ecx, 0x100ef4b8
mov dword [esp + 0xb0], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xb0]
lea ebx, [esp + 0x12]
mov edi, edx
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.00535220
test al, al
jne 0x4890de
xor ebx, ebx
jmp 0x4890e9
mov eax, dword [esp + 0x4c]
add dword [eax], 1
mov al, 1
xor ebx, ebx
push esi
mov byte [esp + 0x5c], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x58], bl
je 0x489143
mov edi, dword [esp + 0x54]
mov ecx, dword [edi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [edi + 0x10]
cmp dword [ecx], ebx
lea eax, [edi + 0x10]
jne 0x489143
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [edi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x489143
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
xor eax, eax
cmp dword [esp + 0xc], eax
jne 0x488e30
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, edi
call fcn.005056b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc