Function at 0x4080b0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eed65
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x53e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
xor eax, eax
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x1c0], edi
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov dword [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x408136
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1c8], 0
xor eax, eax
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 7
mov word [ebp - 0x1d8], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408170
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1d8]
call fcn.004037f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1d8]
push 0
push 1
push eax
lea ecx, [ebp - 0x84]
call fcn.004b6f10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d8]
call fcn.00403780
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov byte [ebp - 4], 3
xor esi, esi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 4
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x40820e
mov eax, dword [edi]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x40869c
push 0
push 0
push 0
push 4
mov esi, edi
push edi
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40869c
mov edi, dword [ebp - 0x84]
test edi, edi
je 0x40825c
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0xb4]
call fcn.004b6680
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
xor eax, eax
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
push eax
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004b6f10
lea ecx, [ebp - 0x1b8]
call fcn.00403c70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x15c]
call fcn.00403c70
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14c]
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x158], 2
mov dword [ebp - 0x150], 3
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x15c], 1
cmp ecx, eax
je 0x408327
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x408318
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x14c]
call fcn.004037f0
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
push dword [ebp - 0xa4]
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x134]
push eax
call fcn.004037f0
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00431ee0
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c0], esp
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
movups xmmword [ebp - 0xe8], xmm0
xor eax, eax
movq qword [ebp - 0xd8], xmm0
push 0x24
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.364EEC90_8BB3_4834_BE8D_26E3E1C8C1AA
mov word [ecx], ax
call fcn.004037f0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe8]
call fcn.0041efc0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x1b9]
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 0x1b9], 0
call fcn.0041f2b0
test al, al
je 0x4083fe
cmp byte [ebp - 0x1b9], 0
je 0x4083fe
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0041f230
jmp 0x4084f7
lea ecx, [ebp - 0x9c]
call fcn.004b7310
mov byte [ebp - 4], 0xe
xor eax, eax
push 0xf
mov dword [ebp - 0x1c8], 0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1c4], 0
push str.2345MPCSafe.exe
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 7
mov word [ebp - 0x1d8], ax
call fcn.004037f0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x1d8]
push eax
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x3c]
call fcn.004b6a20
add esp, 4
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x9c]
cmp ecx, eax
je 0x4084b5
call fcn.00403780
mov eax, dword [ebp - 0x1c0]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x8c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3c]
call fcn.00403780
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1d8]
call fcn.00403780
push 0
push 0
lea edx, [ebp - 0x100]
lea ecx, [ebp - 0x9c]
call fcn.004b75d0
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x9c]
call fcn.00403780
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1d8]
push 0x24
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], eax
push str.E2B92256_7193_4381_837C_6789C07D6643
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], 7
mov word [ebp - 0x1d8], ax
call fcn.004037f0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x1d8]
push 0
push 1
push eax
lea ecx, [ebp - 0x44]
call fcn.004b6f10
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1d8]
call fcn.00403780
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
push 0x7530
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4085bb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
call fcn.00403780
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe8]
call fcn.0041f070
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x100]
call fcn.00403780
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x11c]
call fcn.00403780
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x134]
call fcn.00403780
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14c]
call fcn.00403780
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x178]
call fcn.00403780
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x190]
call fcn.00403780
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1a8]
call fcn.00403780
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40866f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.00403780
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.00403780
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x20], 0
jmp 0x4086ad
mov edi, dword [ebp - 0x84]
test edi, edi
je 0x4086ad
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
je 0x4086bd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4086d7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [ebp - 0x24], 0
jmp 0x4086dd
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.00403780
mov dword [ebp - 4], 0x1d
test edi, edi
je 0x408704
push edi
call esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00403780
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ec151
mov esp, ebp
pop ebp
ret 8