Function at 0x401850
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push str.GlobalHWiNFO_SENS_SM2
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 0x4018f6
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___GlobalHWiNFO_SENS_SM2__
push 0x154
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 0x401c7a
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 0x401991
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 0x15a
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 0x401bf0
test esi, esi
je 0x4019bb
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x28]
movups xmmword [esi], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x28], eax
cmp dword [ebp - 4], 0
mov bl, 1
je 0x401a8a
mov eax, dword [esi + 0x1c]
imul eax, dword [esi + 0x18]
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 0x401a66
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.sensors__malloc_hwinfo__sensorSize__hwinfo__sensorCount_
push 0x165
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 0x401b66
mov eax, dword [esi + 0x1c]
imul eax, dword [esi + 0x18]
push eax
mov eax, dword [esi + 0x14]
add eax, edi
push eax
push ecx
call fcn.00405ee0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x401b68
mov eax, dword [esi + 0x28]
imul eax, dword [esi + 0x24]
push eax
call fcn.0040db10
add esp, 4
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 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 - 8], eax
je 0x401b33
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 - 0xc]
push eax
push 8
push eax
mov eax, dword [ecx + 0x14]
push str.readings__malloc_hwinfo__readingSize__hwinfo__readingCount_
push 0x171
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
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x401b55
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x28]
push eax
mov eax, dword [esi + 0x20]
add eax, edi
push eax
push ecx
call fcn.00405ee0
add esp, 0xc
jmp 0x401b68
mov eax, dword [ebp - 4]
test eax, eax
je 0x401b66
push dword [eax]
call fcn.0040ceae
add esp, 4
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 0x401bf0
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 0x181
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 0x401c7a
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 0x184
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