Function at 0x401f10
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push str.MAHMSharedMemory
push 0
push 4
mov dword [ebp - 4], edx
mov esi, ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov dword [ebp - 0x14], edi
call fcn.00404e20
inc eax
add esp, 8
cmp dword [0x430a0c], 0
mov dword [ebp - 8], eax
je 0x401fb6
push 0
call fcn.0040cb90
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.mapFile__OpenFileMappingA_FILE_MAP_READ__false___MAHMSharedMemory__
push 0x1ae
push dword [ebp - 8]
add eax, 0x76c
push dword [ecx]
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
test edi, edi
je 0x40224e
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
inc eax
add esp, 8
cmp dword [0x430a0c], 0
mov dword [ebp - 8], eax
je 0x402051
push 0
call fcn.0040cb90
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.mapAddress__MapViewOfFile_mapFile__FILE_MAP_READ__0__0__0_
push 0x1b4
push dword [ebp - 8]
add eax, 0x76c
push dword [ecx]
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
test edi, edi
je 0x4021c4
test esi, esi
je 0x40206d
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
cmp dword [ebp - 4], 0
mov bl, 1
je 0x40213c
mov eax, dword [esi + 0x10]
imul eax, dword [esi + 0xc]
push eax
call fcn.0040db10
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], ecx
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov dword [eax], ecx
call fcn.00404e20
inc eax
add esp, 8
cmp dword [0x430a0c], 0
mov dword [ebp - 0xc], eax
je 0x402118
push 0
call fcn.0040cb90
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 8]
push eax
push 8
push eax
mov eax, dword [ecx + 0x14]
push str.entries__malloc_afterburner__entrySize__afterburner__entryCount_
push 0x1bf
push dword [ebp - 0xc]
add eax, 0x76c
push dword [ecx]
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x40213a
mov eax, dword [esi + 0x10]
imul eax, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
add eax, edi
push eax
push ecx
call fcn.00405ee0
add esp, 0xc
jmp 0x40213c
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea esi, [eax + 1]
je 0x4021c4
push 0
call fcn.0040cb90
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.UnmapViewOfFile_mapAddress_
push 0x1c7
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea esi, [eax + 1]
je 0x40224e
push 0
call fcn.0040cb90
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.CloseHandle_mapFile_
push 0x1ca
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret