Function at 0x40bb50
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Get memory capacity
Get networking parameters
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1418
call fcn.00419ec0
mov eax, dword [0x42500c]
xor eax, esp
mov dword [esp + 0x1414], eax
push esi
push edi
push 0x208
lea eax, [esp + 0x100c]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x1008]
call fcn.0040cd90
push 0x208
lea eax, [esp + 0xe04]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
jne 0x40bbd9
push 0x41f78c
lea eax, [esp + 0x100c]
push eax
push 0x41f7a8
lea eax, [esp + 0xe0c]
push 0x104
push eax
call fcn.0040cd10
add esp, 0x14
jmp 0x40bbf0
push esi
lea eax, [esp + 0xe04]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push 0x41f7b4
push 0
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
lea eax, [esp + 0xe08]
push 0x41f7b8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov esi, eax
add esp, 0x10
xor eax, eax
mov dword [esp + 8], esi
test esi, esi
je 0x40cc75
mov word [esp + 0x1c], ax
xorps xmm0, xmm0
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
lea eax, [esp + 0x1c]
push eax
movq qword [esp + 0x22], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push eax
push str.__4d__02d__02d__02d:_02d:_02d__03d__n
push esi
call fcn.0040ccb0
add esp, 0x24
lea eax, [esp + 0x9d8]
push 0x190
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push str._User__n
push esi
call fcn.0040ccb0
lea eax, [esp + 0x1010]
push eax
push str._Client_Path:_s_n
push esi
call fcn.0040ccb0
add esp, 0x14
lea eax, [esp + 0xc70]
push 0xc8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xd38]
push 0xc8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [esp + 0xd3c]
lea ecx, [esp + 0xc74]
push eax
call fcn.0040b390
lea eax, [esp + 0xc78]
push eax
push str._Computer_Name:_s__n
push esi
call fcn.0040ccb0
add esp, 0x14
lea eax, [esp + 0xd38]
push eax
push str._User_Name:_s__n
push esi
call fcn.0040ccb0
add esp, 0xc
push 0x41f888
push esi
call fcn.0040ccb0
push str._Operating_System__n
push esi
call fcn.0040ccb0
push 0x11c
lea eax, [esp + 0xa4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x90]
movups xmmword [esp + 0x2c], xmm0
movups xmmword [esp + 0x3c], xmm0
call fcn.0040b120
push dword [esp + 0xa0]
lea eax, [esp + 0x9dc]
push dword [esp + 0xa0]
push dword [esp + 0xa0]
push dword [esp + 0xa0]
push str._MajorVersion:_d_n_MinorVersion:_d_n_BuildNumber:_d_n_PlatformId:_d_n
push 0xc8
push eax
call fcn.0040cd10
add esp, 0x1c
lea eax, [esp + 0x9d8]
push eax
push str._s__r_n
push esi
call fcn.0040ccb0
movzx eax, word [esp + 0x1b4]
add esp, 0xc
push eax
movzx eax, word [esp + 0x1aa]
push eax
movzx eax, word [esp + 0x1ac]
push eax
lea eax, [esp + 0xb0]
push eax
push str._CSDVersion:_s_n_ServicePackMajor:_d_n_ServicePackMinor:_d_n_SuiteMask:_d_n
lea eax, [esp + 0x9ec]
push 0xc8
push eax
call fcn.0040cd10
add esp, 0x1c
lea eax, [esp + 0x9d8]
push eax
push 0x41f9d8
push esi
call fcn.0040ccb0
movzx ecx, byte [esp + 0x1b6]
add esp, 0xc
mov eax, ecx
sub eax, 1
je 0x40be4c
sub eax, 1
je 0x40be45
sub eax, 1
je 0x40be3e
push ecx
push str._ProductType:_d__n
push esi
call fcn.0040ccb0
add esp, 0xc
jmp 0x40be5a
push str._ProductType:VER_NT_SERVER__n
jmp 0x40be51
push str._ProductType:VER_NT_DOMAIN_CONTROLLER__n
jmp 0x40be51
push str._ProductType:VER_NT_WORKSTATION__n
push esi
call fcn.0040ccb0
add esp, 8
push 0x41f888
push esi
call fcn.0040ccb0
push str._PROCESSOR__n
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x3c]
add esp, 0x10
cmp eax, 6
ja 0x40be9c
je 0x40be95
test eax, eax
je 0x40be8e
cmp eax, 5
jne 0x40bea8
push str._ARM__n
jmp 0x40bec5
push str._x86__n
jmp 0x40bec5
push str._Intel_Itanium_based__n
jmp 0x40bec5
cmp eax, 9
je 0x40bec0
cmp eax, 0xffff
je 0x40beb9
push eax
push str._OemId:_d.__n
push esi
call fcn.0040ccb0
add esp, 0xc
jmp 0x40bece
push str._Unknown_architecture.__n
jmp 0x40bec5
push str._x64__AMD_or_Intel___n
push esi
call fcn.0040ccb0
add esp, 8
push dword [esp + 0x40]
lea eax, [esp + 0x9dc]
push str._NumberOfProcessors:_d_n
push 0xc8
push eax
call fcn.0040cd10
lea eax, [esp + 0x9e8]
push eax
push 0x41f9d8
push esi
call fcn.0040ccb0
add esp, 0x1c
lea eax, [esp + 0x1210]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x1210]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040b1a0
add esp, 0xc
lea eax, [esp + 0x9d8]
push dword [esp + 0x18]
push str._Frequency:_ld_MHz_n
push 0xc8
push eax
call fcn.0040cd10
lea eax, [esp + 0x9e8]
push eax
push 0x41f9d8
push esi
call fcn.0040ccb0
add esp, 0x1c
mov dword [esp + 0x18], 0
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40bfb0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [esp + 0x18], 0
mov ecx, str.32_bit
mov eax, str.64_bit
cmove eax, ecx
push eax
push str._System_Type:_s_n
lea eax, [esp + 0x9e0]
push 0xc8
push eax
call fcn.0040cd10
lea eax, [esp + 0x9e8]
push eax
push 0x41f9d8
push esi
call fcn.0040ccb0
add esp, 0x1c
lea eax, [esp + 0x54]
push 0x3c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x50], 0x40
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
shrd ecx, eax, 0x14
push ecx
mov ecx, dword [esp + 0x5c]
shr eax, 0x14
mov eax, dword [esp + 0x60]
shrd ecx, eax, 0x14
push ecx
shr eax, 0x14
push str._Physical_Memory_MB_:_ld_n_Virtual_Memory_MB_:_ld_n
lea eax, [esp + 0x9e4]
push 0xc8
push eax
call fcn.0040cd10
add esp, 0x14
lea eax, [esp + 0x9d8]
push eax
push str._s__n
push esi
call fcn.0040ccb0
add esp, 0xc
push 0x41f888
push esi
call fcn.0040ccb0
push str._Disk__n
push esi
call fcn.0040ccb0
push str._Directory_tfreespace_MB__n
push esi
call fcn.0040ccb0
push 0x370
lea eax, [esp + 0x5cc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
lea ecx, [esp + 0x5b0]
mov edx, 0x14
call fcn.0040b490
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
movq qword [esp + 0x980], xmm0
movups xmmword [esp + 0x960], xmm0
movups xmmword [esp + 0x970], xmm0
test eax, eax
jle 0x40c182
lea eax, [esp + 0x5b0]
mov dword [esp + 0xc], eax
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call edi
test eax, eax
je 0x40c12d
cmp eax, 0x14
jg 0x40c12d
push eax
lea eax, [esp + 0x964]
xorps xmm0, xmm0
push eax
push 0xffffffffffffffff
push dword [esp + 0x18]
movaps xmmword [esp + 0x970], xmm0
push 1
push 0
movaps xmmword [esp + 0x988], xmm0
movq qword [esp + 0x998], xmm0
call edi
mov eax, dword [esp + 0xc]
push dword [eax + 0x20]
lea eax, [esp + 0x964]
push eax
push str.__s_t_t_lu
lea eax, [esp + 0x9e4]
push 0xc8
push eax
call fcn.0040cd10
add esp, 0x14
lea eax, [esp + 0x9d8]
push eax
push str._s__n
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x18]
add esp, 0xc
add eax, 0x2c
sub dword [esp + 0x18], 1
mov dword [esp + 0xc], eax
jne 0x40c0e6
push 0x41f888
push esi
call fcn.0040ccb0
push 0xb68
call fcn.00418db5
add esp, 0xc
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
mov ecx, eax
call fcn.0040ba50
add esp, 4
push str._Display__n
push esi
call fcn.0040ccb0
mov edi, dword [esp + 0x20]
push edi
push 0x41fd40
push esi
mov dword [esp + 0x20], edi
call fcn.0040ccb0
add esp, 0x14
test edi, edi
je 0x40c26e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov esi, eax
lea edi, [esp + 0x1b0]
lea eax, [esp + 0x1b0]
mov ecx, 0x49
push eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
push 0x41fd50
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x2cc]
add esp, 0xc
shr eax, 0x14
push eax
push 0x41fd5c
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x2d4]
add esp, 0xc
shr eax, 0x14
push eax
push 0x41fd78
push esi
call fcn.0040ccb0
add esp, 0xc
push str.__________________n
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x20]
add esp, 8
add eax, 0x124
sub dword [esp + 0xc], 1
mov dword [esp + 0x18], eax
jne 0x40c1f0
push dword [esp + 0x10]
call fcn.00418db0
add esp, 4
push 0x41f888
push esi
call fcn.0040ccb0
push str._NetWork__n
push esi
call fcn.0040ccb0
add esp, 0x10
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0xe8
je 0x40c334
mov eax, dword [esp + 0x14]
cmp eax, 1
jb 0x40c334
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [esp + 0x14], edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0xe8
je 0x40c31b
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jb 0x40c31b
mov dword [esp + 0x10], edi
mov eax, edi
test edi, edi
jne 0x40c40c
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40c416
push 0x41ff1c
push esi
call fcn.0040ccb0
add esp, 8
test edi, edi
je 0x40c334
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0xc80
call fcn.00418db5
add esp, 4
mov edi, eax
push 0xc80
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.0040b820
add esp, 4
test edi, edi
je 0x40c377
push edi
call fcn.00418db0
add esp, 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
cmp eax, 0xe8
je 0x40cafc
mov eax, dword [esp + 0x14]
cmp eax, 1
jb 0x40cafc
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [esp + 0x14], edi
call dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
cmp eax, 0xe8
je 0x40c3f9
mov eax, dword [esp + 0x18]
cmp eax, 1
jb 0x40c3f9
test edi, edi
jne 0x40c7e2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
jne 0x40c7ee
push 0x41ff1c
push esi
call fcn.0040ccb0
add esp, 8
jmp 0x40caf1
cmp ecx, dword [esp + 8]
ja 0x40c31b
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x40c31b
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [eax]
inc ecx
test eax, eax
jne 0x40c430
test edi, edi
je 0x40c31b
test ecx, ecx
je 0x40c31b
inc eax
push eax
push str._Card:_d_n
push esi
mov dword [esp + 0x24], eax
call fcn.0040ccb0
add esp, 0xc
lea eax, [esp + 0x1b0]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 8]
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 8], eax
test eax, eax
je 0x40c4c8
cmp eax, 0x104
jg 0x40c4c8
push 0x208
lea eax, [esp + 0x1b4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1b0]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
lea eax, [edi + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x1b0]
push eax
push 0x41fde8
push esi
call fcn.0040ccb0
add esp, 0xc
lea eax, [esp + 0xb68]
push 0x108
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x10c]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0x10], eax
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call edi
mov dword [esp + 8], eax
test eax, eax
je 0x40c550
cmp eax, 0x84
jg 0x40c550
push 0x108
lea eax, [esp + 0xb6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xb68]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
push dword [esp + 0x1c]
push 1
push 0
call edi
lea eax, [esp + 0xb68]
push eax
push 0x41fe08
push esi
call fcn.0040ccb0
add esp, 0xc
push str._MAC
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x14]
add esp, 8
xor edi, edi
mov ecx, dword [eax + 0x190]
test ecx, ecx
je 0x40c5c6
lea edx, [eax + 0x194]
nop word [eax + eax]
lea eax, [ecx - 1]
cmp edi, eax
movzx eax, byte [edx + edi]
push eax
jne 0x40c5a3
push str._.2X_n
jmp 0x40c5a8
push str._.2X_
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x18]
inc edi
add esp, 0xc
mov ecx, dword [eax + 0x190]
lea edx, [eax + 0x194]
cmp edi, ecx
jb 0x40c590
push 0x40
lea eax, [esp + 0x924]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [esp + 0x18]
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
lea eax, [edi + 0x1b0]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 8], eax
test eax, eax
je 0x40c635
cmp eax, 0x20
jg 0x40c635
push 0x40
lea eax, [esp + 0x924]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x920]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
lea eax, [edi + 0x1b0]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x920]
push eax
push 0x41fe58
push esi
call fcn.0040ccb0
add esp, 0xc
lea eax, [edi + 0x1c0]
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 8], eax
test eax, eax
je 0x40c6a2
cmp eax, 0x20
jg 0x40c6a2
push 0x40
lea eax, [esp + 0x924]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x920]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
lea eax, [edi + 0x1c0]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x920]
push eax
push 0x41fe74
push esi
call fcn.0040ccb0
add esp, 0xc
lea eax, [edi + 0x1d8]
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 8], eax
test eax, eax
je 0x40c70f
cmp eax, 0x20
jg 0x40c70f
push 0x40
lea eax, [esp + 0x924]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x920]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
lea eax, [edi + 0x1d8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x920]
push eax
push 0x41fe90
push esi
call fcn.0040ccb0
add esp, 0xc
cmp dword [edi + 0x1a4], 0
je 0x40c7af
push 0x41fea8
push esi
call fcn.0040ccb0
add esp, 8
lea eax, [edi + 0x200]
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 8], eax
test eax, eax
je 0x40c797
cmp eax, 0x20
jg 0x40c797
push 0x40
lea eax, [esp + 0x924]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x920]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
lea eax, [edi + 0x200]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x920]
push eax
push 0x41fec4
push esi
call fcn.0040ccb0
add esp, 0xc
jmp 0x40c7bd
push 0x41fee4
push esi
call fcn.0040ccb0
add esp, 8
push 0x41ff00
push esi
call fcn.0040ccb0
mov edi, dword [edi]
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], edi
test edi, edi
jne 0x40c447
jmp 0x40c334
cmp eax, dword [esp + 8]
ja 0x40c3f9
mov eax, edi
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
test edi, edi
je 0x40c3f9
push 0x108
lea eax, [esp + 0xb6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
push 0
call edi
mov dword [esp + 8], eax
test eax, eax
je 0x40c86a
cmp eax, 0x84
jg 0x40c86a
push 0x108
lea eax, [esp + 0xb6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xb68]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
push dword [esp + 0x18]
push 1
push 0
call edi
lea eax, [esp + 0xb68]
push eax
push 0x41ff34
push esi
call fcn.0040ccb0
add esp, 0xc
lea eax, [esp + 0x1b0]
push 0x108
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
add esp, 0xc
add eax, 0x84
mov dword [esp + 0x10], eax
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call edi
mov dword [esp + 8], eax
test eax, eax
je 0x40c8ef
cmp eax, 0x84
jg 0x40c8ef
push 0x108
lea eax, [esp + 0x1b4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1b0]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
push dword [esp + 0x1c]
push 1
push 0
call edi
lea eax, [esp + 0x1b0]
push eax
push 0x41ff48
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax + 0x134]
lea eax, [ecx - 1]
cmp eax, 7
ja case.0x40c917.3
jmp dword [eax*4 + 0x40cc8c]
mov eax, str.Broadcase_Node
jmp 0x40c93f
mov eax, str.Peer_to_Peer_Node
jmp 0x40c93f
mov eax, str.Mixed_Node
jmp 0x40c93f
mov eax, str.Hybrid_Node
jmp 0x40c93f
mov eax, str.Unknown_Node
push eax
push ecx
push 0x41ffec
push esi
call fcn.0040ccb0
mov ecx, dword [esp + 0x1c]
mov edi, 0x420028
mov edx, 0x42002c
mov eax, edi
cmp dword [ecx + 0x23c], 0
cmove eax, edx
push eax
push 0x420030
push esi
call fcn.0040ccb0
mov ecx, dword [esp + 0x28]
add esp, 0x1c
mov eax, edi
cmp dword [ecx + 0x240], 0
mov ecx, 0x42002c
cmove eax, ecx
push eax
push 0x42005c
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp dword [eax + 0x244], 0
mov eax, 0x42002c
cmove edi, eax
push edi
push 0x420088
push esi
call fcn.0040ccb0
add esp, 0xc
push str._n_DNS
push esi
call fcn.0040ccb0
push 0x40
lea eax, [esp + 0x92c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0x14
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, 0x110
mov dword [esp + 0x10], eax
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call edi
mov dword [esp + 8], eax
test eax, eax
je 0x40ca33
cmp eax, 0x20
jg 0x40ca33
push 0x40
lea eax, [esp + 0x924]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x920]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
push dword [esp + 0x1c]
push 1
push 0
call edi
lea eax, [esp + 0x920]
push eax
push str._t_s_n
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [eax + 0x10c]
mov dword [esp + 0x18], eax
test eax, eax
je 0x40caed
nop
push 0x40
lea eax, [esp + 0x99c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 4
mov dword [esp + 0x10], eax
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call edi
mov dword [esp + 8], eax
test eax, eax
je 0x40cac5
cmp eax, 0x20
jg 0x40cac5
push 0x40
lea eax, [esp + 0x99c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x998]
push dword [esp + 8]
push eax
push 0xffffffffffffffff
push dword [esp + 0x1c]
push 1
push 0
call edi
lea eax, [esp + 0x998]
push eax
push str._t_s_n
push esi
call fcn.0040ccb0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x40ca60
mov edi, dword [esp + 0xc]
test edi, edi
je 0x40cafc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x41f888
push esi
call fcn.0040ccb0
push str._Port__n
push esi
call fcn.0040ccb0
push 0x400
lea eax, [esp + 0x1c4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1b4]
push eax
call fcn.0040cf20
xor edi, edi
add esp, 8
cmp dword [esp + 0x18], edi
jle 0x40cb6c
nop
push dword [esp + edi*4 + 0x1b0]
push str._COM_d_n
push esi
call fcn.0040ccb0
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x18]
jl 0x40cb50
push 0x41f888
push esi
call fcn.0040ccb0
push str._Printer__n
push esi
call fcn.0040ccb0
push 0x9dd0
call fcn.00418db5
add esp, 0x14
mov edi, eax
mov dword [esp + 8], edi
push 0x9dd0
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0040b640
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x40cbe8
push edi
push 0x41fd50
push esi
call fcn.0040ccb0
add esp, 0xc
add edi, 0x194
sub dword [esp + 0x10], 1
jne 0x40cbc8
mov edi, dword [esp + 8]
test edi, edi
je 0x40cbfa
push 0x194
push edi
call fcn.00418d47
add esp, 8
push 0x41f888
push esi
call fcn.0040ccb0
push str.end_report.txt_n
push esi
call fcn.0040ccb0
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push eax
push str.__4d__02d__02d__02d:_02d:_02d__03d__n
push esi
call fcn.0040ccb0
add esp, 0x24
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push 0x41f634
push 0
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x141c]
pop edi
pop esi
xor ecx, esp
call fcn.00418d36
mov esp, ebp
pop ebp
ret