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

Disassembly:
push 0xffffffffffffffff
push 0x85d828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x70]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x7c]
push esi
xor esi, esi
mov dword [eax], 0xffffffff
push edi
mov dword [ecx], esi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], esi
rep stosd dword es:[edi], eax
mov ecx, ebp
call fcn.004870b0
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ecx
mov eax, dword [edx]
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
call fcn.00636b60
mov eax, dword [esp + 0x60]
push 0xffffffffffffffff
add eax, 0x24
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x74], esi
call fcn.00636d40
lea ecx, [esp + 0x10]
call fcn.00637470
mov ecx, dword [esp + 0x60]
mov ebx, eax
add ecx, 0x24
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea esi, [esp + 0x40]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 9
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
mov eax, ecx
lea edi, [ebx + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x40]
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x24], eax
lea eax, [ebp + 0x18]
push 1
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], eax
call fcn.005f27b7
mov byte [esp + 0x6c], 1
lea esi, [ebp + 0x38]
lea edx, [esp + 0x74]
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.00489b80
test eax, eax
jne 0x4889f2
mov eax, dword [esi + 4]
test eax, eax
jne 0x4889c7
mov ecx, dword [esi + 8]
push 1
push ecx
mov ecx, esi
call fcn.00489aa0
mov ecx, esi
call fcn.00489b10
mov edx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x74]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x20]
add eax, 0xc
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x6c], 0
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, edi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edi
lea ecx, [esp + 0x14]
call fcn.005f27f3
mov ecx, dword [esp + 0x60]
add ecx, 0x24
push ecx
push ebx
push 0x26
mov ecx, ebp
call fcn.00486ff0
test eax, eax
jne 0x488ae2
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
push 1
push eax
lea ecx, [esp + 0x1c]
mov dword [edx], 1
call fcn.005f27b7
mov ecx, dword [esi + 4]
mov byte [esp + 0x6c], 2
test ecx, ecx
je 0x488aa0
mov ebx, dword [esp + 0x20]
xor edx, edx
mov eax, ebx
shr eax, 4
div dword [esi + 8]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x488aa0
cmp dword [eax + 8], ebx
je 0x488a84
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x488a75
jmp 0x488aa0
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0xc], eax
jne 0x488aa0
mov ecx, esi
call fcn.00489a50
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0
call fcn.005f27f3
test edi, edi
je 0x488abb
push edi
call fcn.008325dd
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x488aca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00636c90
xor eax, eax
jmp 0x488b70
mov ecx, dword [esp + 0x88]
xor edx, edx
mov dword [esp + 0x34], edx
lea eax, [esp + 0x30]
mov dword [esp + 0x38], edx
push eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x24]
push ecx
xor edi, edi
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x40], edi
call fcn.004870e0
mov esi, eax
mov eax, dword [esp + 0x3c]
cmp esi, edi
je 0x488b2c
mov edx, dword [esp + 0x80]
mov ecx, dword [eax + 0x18]
mov dword [edx], ecx
jmp 0x488b39
mov ecx, dword [esp + 0x84]
mov dword [ecx], 2
cmp eax, edi
je 0x488b4a
push eax
call fcn.008325dd
add esp, 4
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x488b5d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x34], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00636c90
mov eax, esi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x18