Function at 0x401ef0
Capabilities:
Create http request
Read data from internet
Receive data
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404592
mov eax, dword fs:[0]
push eax
mov eax, 0x105c
call fcn.00404340
mov eax, dword [0x408040]
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 [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call edi
mov esi, eax
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.00401250
push 0xfffffffffffffff5
call edi
mov esi, eax
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 7
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._nCPU_Information:
push 0x402d80
call fcn.00402b50
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push str.SELECT__FROM_Win32_Processor
lea ecx, [ebp - 0x1028]
call fcn.004025c0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1014]
cmp ecx, 7
jbe 0x401fee
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401fe4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401fe4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403718
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._nGPU_Information:
push 0x402d80
call fcn.00402b50
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push str.SELECT__FROM_Win32_VideoController
lea ecx, [ebp - 0x1028]
call fcn.004025c0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 1
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1014]
cmp ecx, 7
jbe 0x402076
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40206c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40206c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403718
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._nMotherboard_Information:
push 0x402d80
call fcn.00402b50
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push str.SELECT__FROM_Win32_BaseBoard
lea ecx, [ebp - 0x1028]
call fcn.004025c0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 2
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1014]
cmp ecx, 7
jbe 0x4020fe
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4020f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4020f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403718
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._nDisk_Drive_Information:
push 0x402d80
call fcn.00402b50
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push str.SELECT__FROM_Win32_DiskDrive
lea ecx, [ebp - 0x1028]
call fcn.004025c0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 3
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1014]
cmp ecx, 7
jbe 0x402186
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40217c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40217c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403718
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._nUSB_Device_Information:
push 0x402d80
call fcn.00402b50
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push str.SELECT__FROM_Win32_USBHub
lea ecx, [ebp - 0x1028]
call fcn.004025c0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 4
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1014]
cmp ecx, 7
jbe 0x40220e
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402204
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402204
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403718
add esp, 8
push 0xfffffffffffffff5
call edi
mov esi, eax
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 7
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nNetwork_Information:
push 0x402b20
call fcn.00402900
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xfffffffffffffff5
call edi
mov esi, eax
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 7
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.00401cc0
push 0
push 0
push 0
push 1
push str.IP_retriever
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x1060], esi
test esi, esi
jne 0x40229e
push str.Fehler_bei_der_Initialisierung_von_WinINet
lea ecx, [ebp - 0x1044]
call fcn.00402730
jmp 0x40241c
push 0
push SysReAllocString
push 0
push 0
push str.http:__ip_api.com_json_
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [ebp - 0x1064], edi
test edi, edi
jne 0x4022dd
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Fehler_bei_der_Verbindung_zur_API
lea ecx, [ebp - 0x1044]
call fcn.00402730
jmp 0x402416
push 0x40529c
lea ecx, [ebp - 0x1028]
call fcn.00402730
lea eax, [ebp - 0x102c]
mov dword [ebp - 4], 5
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4023e7
nop word [eax + eax]
mov eax, dword [ebp - 0x102c]
test eax, eax
je 0x4023e7
cmp eax, 0x1000
jae 0x40254d
lea esi, [ebp - 0x1010]
mov byte [ebp + eax - 0x1010], 0
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x402350
mov edx, dword [ebp - 0x1014]
sub esi, ecx
mov ecx, dword [ebp - 0x1018]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x4023a5
lea eax, [ecx + esi]
cmp edx, 0xf
mov dword [ebp - 0x1018], eax
lea edi, [ebp - 0x1028]
cmova edi, dword [ebp - 0x1028]
lea eax, [ebp - 0x1010]
add edi, ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp - 0x1064]
jmp 0x4023c5
lea eax, [ebp - 0x1010]
mov byte [ebp - 0x1068], 0
push eax
push dword [ebp - 0x1068]
lea ecx, [ebp - 0x1028]
push esi
call fcn.00402db0
lea eax, [ebp - 0x102c]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x402320
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x1060]
call esi
movups xmm0, xmmword [ebp - 0x1028]
movups xmmword [ebp - 0x1044], xmm0
movq xmm0, qword [ebp - 0x1018]
movq qword [ebp - 0x1034], xmm0
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
mov dword [ebp - 4], 6
call edi
mov esi, eax
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 7
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nIP_Address_and_Location_Information:_n
call fcn.00402900
cmp dword [ebp - 0x1030], 0xf
lea edx, [ebp - 0x1044]
push dword [ebp - 0x1034]
cmova edx, dword [ebp - 0x1044]
mov ecx, eax
call fcn.00402f80
add esp, 4
mov ecx, eax
push 0x402b20
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xfffffffffffffff5
call edi
mov esi, eax
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 7
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 0xfffffffffffffff5
call edi
mov esi, eax
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nPress_any_key_to_exit...
call fcn.00402900
push 0xfffffffffffffff5
call edi
mov esi, eax
lea eax, [ebp - 0x105c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 7
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
mov ecx, dword [ebp - 0x1030]
cmp ecx, 0xf
jbe 0x402530
mov edx, dword [ebp - 0x1044]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402526
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402526
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403718
add esp, 8
xor eax, eax
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.004034d5
mov esp, ebp
pop ebp
ret
call fcn.0040360b
int3