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

Disassembly:
push 0xffffffffffffffff
push 0x85d850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [eax], 0
mov ecx, dword [esp + 0x88]
push edi
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [ecx], 0
mov ecx, 8
mov dword [esp + 0x48], 0
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.004870b0
mov edx, dword [esp + 0x7c]
xor ebx, ebx
push ebx
push ebx
mov ecx, dword [edx]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x8c]
push 1
push ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x4c], ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x18]
push 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], eax
call fcn.005f27b7
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x48]
lea edi, [esi + 0x38]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x7c], ebx
call fcn.00489b80
test eax, eax
jne 0x488c98
mov eax, dword [edi + 4]
test eax, eax
jne 0x488c6d
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.00489aa0
mov ecx, edi
call fcn.00489b10
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], edx
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x7c]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x7c]
mov dword [edx + ecx*4], eax
add eax, 0xc
lea ecx, [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
mov dword [edx], ebp
mov dword [edx + 4], eax
mov eax, ebx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
call fcn.005f27f3
lea ecx, [esp + 0x48]
push 0x24
push ecx
push 0x27
mov ecx, esi
call fcn.00486ff0
test eax, eax
jne 0x488d76
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
push 1
push eax
lea ecx, [esp + 0x24]
mov dword [edx], 1
call fcn.005f27b7
mov ecx, dword [edi + 4]
mov dword [esp + 0x74], 1
test ecx, ecx
je 0x488d45
mov eax, ebp
xor edx, edx
shr eax, 4
div dword [edi + 8]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x488d45
cmp dword [eax + 8], ebp
je 0x488d29
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x488d1a
jmp 0x488d45
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0xc]
dec eax
mov dword [edi + 0xc], eax
jne 0x488d45
mov ecx, edi
call fcn.00489a50
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], 0xffffffff
call fcn.005f27f3
test ebx, ebx
je 0x488d63
push ebx
call fcn.008325dd
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x488d72
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x488deb
mov ecx, dword [esp + 0x90]
xor edx, edx
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x28]
mov dword [esp + 0x30], edx
push eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x40]
push ecx
xor edi, edi
push ebp
push edx
mov ecx, esi
mov dword [esp + 0x38], edi
call fcn.004870e0
mov esi, eax
mov eax, dword [esp + 0x34]
cmp esi, edi
je 0x488dbc
mov edx, dword [esp + 0x88]
mov ecx, dword [eax + 0x18]
mov dword [edx], ecx
jmp 0x488dc9
mov ecx, dword [esp + 0x8c]
mov dword [ecx], 2
cmp eax, edi
je 0x488dda
push eax
call fcn.008325dd
add esp, 4
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x488de9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0x18