Function at 0x43319c
Capabilities:
Get hostname
Send icmp echo request

Disassembly:
push 0x36c
mov eax, 0x444865
call fcn.0043f86d
mov dword [ebp - 0x340], edx
mov eax, ecx
mov dword [ebp - 0x33c], eax
xor edx, edx
inc edx
mov esi, edx
xor ecx, ecx
mov edi, ecx
mov dword [ebp - 0x32c], edi
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x324], ecx
mov ebx, ecx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x328], edx
mov dword [ebp - 4], ecx
test eax, eax
je 0x43355d
push eax
lea ecx, [ebp - 0x370]
call fcn.00411f31
mov byte [ebp - 4], 1
cmp dword [0x451a18], ebx
jne 0x433221
call fcn.004330a7
mov esi, eax
mov dword [ebp - 0x330], esi
mov dword [0x451a18], esi
cmp esi, 1
jne 0x43354c
push 0
lea eax, [ebp - 0x328]
push eax
lea edx, [ebp - 0x29c]
mov ecx, dword [ebp - 0x33c]
call fcn.004330ed
test eax, eax
jne 0x43354c
push 0x20
push eax
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov dword [ebp - 0x320], eax
test eax, eax
je 0x43363b
xor ecx, ecx
mov dword [ebp - 0x350], ecx
cmp ecx, 0x20
jae 0x433289
mov eax, ecx
cdq
mov dword [ebp - 0x338], 0x17
idiv dword [ebp - 0x338]
add dl, 0x61
mov eax, dword [ebp - 0x320]
mov byte [ecx + eax], dl
inc ecx
jmp 0x43325c
xor eax, eax
mov dword [ebp - 0x344], eax
mov byte [ebp - 0x345], al
mov byte [ebp - 0x348], 0x80
mov byte [ebp - 0x347], al
mov byte [ebp - 0x346], al
push 0x1ff8
push eax
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov dword [ebp - 0x324], eax
test eax, eax
jne 0x4332dc
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x354], eax
push 0x44fddc
lea eax, [ebp - 0x354]
jmp 0x433652
cmp dword [ebp - 0x328], 0
je 0x433450
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov edi, eax
mov dword [ebp - 0x32c], edi
cmp edi, 0xffffffff
jne 0x433318
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x358], eax
push 0x44fddc
lea eax, [ebp - 0x358]
jmp 0x433652
xor eax, eax
mov dword [ebp - 0x338], eax
xor ecx, ecx
mov dword [ebp - 0x35c], ecx
cmp ecx, 4
jge 0x43334a
mov al, byte [ebp + ecx - 0x298]
mov byte [ebp + ecx - 0x338], al
inc ecx
mov dword [ebp - 0x35c], ecx
mov eax, dword [ebp - 0x338]
jmp 0x433328
push dword [ebp - 0x340]
push 0x1ff8
push dword [ebp - 0x324]
lea ecx, [ebp - 0x348]
push ecx
push 0x20
push dword [ebp - 0x320]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
mov ebx, eax
mov dword [ebp - 0x334], ebx
cmp dword [ebp - 0x328], 0
je 0x433450
test ebx, ebx
jne 0x43352d
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
je 0x433511
push 2
lea eax, [ebp - 0x328]
push eax
lea edx, [ebp - 0x29c]
mov ecx, dword [ebp - 0x33c]
call fcn.004330ed
test eax, eax
jne 0x433511
cmp dword [ebp - 0x328], eax
jne 0x433511
mov dword [ebp - 0x33c], 0x104
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetComputerNameW]
test eax, eax
je 0x433511
call dword [sym.imp.IPHLPAPI.DLL_Icmp6CreateFile]
mov edi, eax
mov dword [ebp - 0x32c], edi
cmp edi, 0xffffffff
jne 0x433420
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x360], eax
push 0x44fddc
lea eax, [ebp - 0x360]
jmp 0x433652
push 2
lea eax, [ebp - 0x328]
push eax
lea edx, [ebp - 0x31c]
lea ecx, [ebp - 0x21c]
call fcn.004330ed
test eax, eax
jne 0x433511
cmp dword [ebp - 0x328], eax
jne 0x433511
jmp 0x4334cb
mov dword [ebp - 0x364], 0x104
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetComputerNameW]
test eax, eax
je 0x43350d
call dword [sym.imp.IPHLPAPI.DLL_Icmp6CreateFile]
mov edi, eax
mov dword [ebp - 0x32c], edi
cmp edi, 0xffffffff
jne 0x4334a5
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x368], eax
push 0x44fddc
lea eax, [ebp - 0x368]
jmp 0x433652
push 2
lea eax, [ebp - 0x328]
push eax
lea edx, [ebp - 0x31c]
lea ecx, [ebp - 0x21c]
call fcn.004330ed
test eax, eax
jne 0x43350d
cmp dword [ebp - 0x328], eax
jne 0x43350d
push dword [ebp - 0x340]
push 0x1ff8
push dword [ebp - 0x324]
lea eax, [ebp - 0x348]
push eax
push 0x20
push dword [ebp - 0x320]
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x31c]
push eax
xor eax, eax
push eax
push eax
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_Icmp6SendEcho2]
mov ebx, eax
mov dword [ebp - 0x334], ebx
test ebx, ebx
jne 0x43352d
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x36c], eax
push 0x44fddc
lea eax, [ebp - 0x36c]
jmp 0x433652
push dword [ebp - 0x320]
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
push dword [ebp - 0x324]
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x370]
call fcn.00411ea5
jmp 0x433565
mov esi, ecx
mov dword [ebp - 0x330], esi
or dword [ebp - 4], 0xffffffff
jmp 0x4335e7
mov eax, esi
call fcn.0043f7bf
ret
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x34c], eax
push 0x44fddc
lea eax, [ebp - 0x34c]
push eax
call sub.msvcrt.dll__CxxThrowException
cmp dword [ebp - 0x32c], 0
je 0x43366d
push dword [ebp - 0x32c]
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
cmp dword [ebp - 0x320], 0
je 0x433682
push dword [ebp - 0x320]
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
cmp dword [ebp - 0x324], 0
je 0x433697
push dword [ebp - 0x324]
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
and dword [ebp - 0x330], 0
mov ecx, dword [ebp - 0x378]
call fcn.00411ea1
mov ecx, eax
call fcn.0043ee14
int3