Function at 0x4778a0
Capabilities:
Create thread
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4af7a6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push str.Global844507BE_F83E_4c9f_B0FD_58544A3C9F83
push ebx
push 0xf001f
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
cmp edi, ebx
je 0x47791b
push ebx
push ebx
push ebx
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
jne 0x477909
push edi
call ebp
jmp 0x47791b
mov ecx, dword [eax + 0xc]
add ecx, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
je 0x47791b
mov dword [ecx + 0x28], ebx
call fcn.00476790
push str.GlobalA7B1CAE3_3722_4357_894E_FAAEC406F7D9_enable_event
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
cmp eax, ebx
je 0x477944
push eax
call ebp
call fcn.00476790
mov ecx, eax
call fcn.00476260
mov eax, dword [esi + 0x88]
cmp eax, ebx
je 0x477957
push eax
call ebp
mov dword [esi + 0x88], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x47797d
push eax
call ebp
mov dword [esi + 0x90], ebx
push ebx
push ebx
push ebx
push ebx
call edi
push 0xc
mov dword [esi + 0x90], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
jne 0x47799b
xor edi, edi
jmp 0x4779bc
push ebx
push ebx
push eax
push 0x481cd0
push ebx
push ebx
mov dword [eax], esi
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x477840
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov edi, eax
mov eax, dword [esi + 0x80]
cmp eax, ebx
je 0x4779c9
push eax
call ebp
test byte [0x500880], 1
mov dword [esi + 0x80], edi
jne 0x477a47
or dword [0x500880], 1
cmp esi, ebx
mov byte [esp + 0x24], 1
je 0x477a19
mov eax, 0x476190
test eax, eax
je 0x477a19
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x477a13
mov dword [eax + 4], esi
mov dword [eax], vtable.EasyIpcExecWrap_class_KQueryHardWareInfo_.0
mov dword [eax + 8], 0x476190
mov esi, eax
jmp 0x477a1b
xor eax, eax
mov esi, eax
jmp 0x477a1b
xor esi, esi
call fcn.00477080
mov ecx, eax
mov ecx, dword [ecx]
or eax, 0xffffffff
cmp ecx, ebx
je 0x477a3e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
push str.QueryHardWareInfo
push str.KQueryHardWareInfo
push ecx
call eax
mov dword [0x50087c], eax
mov byte [esp + 0x24], bl
call fcn.00477080
mov eax, dword [eax]
cmp eax, ebx
je 0x477a5f
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push str.KQueryHardWareInfo
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov esi, dword [esp + 0x14]
je 0x477a76
cmp esi, ebx
je 0x477a7d
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp esi, ebx
je 0x477a7d
push esi
call ebp
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret