Function at 0x438221
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46792f
mov eax, dword fs:[0]
push eax
mov eax, 0x1178
call fcn.00462050
mov eax, dword [0x4b5898]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
inc eax
cmp word [ebp + 8], ax
jne 0x43858b
push 0x70
xor esi, esi
lea eax, [ebp - 0x10e8]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x410]
add esp, 0xc
shr eax, 2
mov ecx, ebx
and al, 1
mov byte [ebp - 0x10e8], al
call fcn.00438cab
mov ecx, dword [ebx + 0x108]
mov byte [ebp - 0x10e7], al
mov al, byte [ecx + 0xbc]
mov byte [ebp - 0x10e5], al
mov al, byte [ecx]
mov byte [ebp - 0x10df], al
mov al, byte [0x4b9b48]
mov byte [ebp - 0x10e0], al
mov al, byte [0x4b9b40]
shl al, 4
or al, byte [0x4b9b44]
mov byte [ebp - 0x10e6], al
mov eax, dword [0x4b9918]
mov dword [ebp - 0x10d8], eax
mov eax, dword [0x4b991c]
mov dword [ebp - 0x10d4], eax
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1068], 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x1180]
mov dword [ebp - 0x1184], eax
lea ecx, [ebp - 0x1184]
push 3
lea eax, [ebp - 0x1050]
push eax
call fcn.0042fbd2
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10bc]
push dword [ebp - 0x1184]
push 0x40
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1180]
cmp dword [ebp - 0x1184], eax
je 0x43835b
push dword [ebp - 0x1184]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov ecx, dword [ebx + 0x108]
cmp dword [ecx], 1
jne 0x4383b6
lea eax, [ebp - 0x1078]
push eax
push dword [ecx + 0x38]
call fcn.00403c10
mov ecx, eax
call fcn.0040edef
lea eax, [ebp - 0x1078]
push eax
lea eax, [ebp - 0x1100]
push eax
call fcn.004587fe
mov esi, eax
lea edi, [ebp - 0x10cc]
pop ecx
pop ecx
mov ecx, dword [ebx + 0x108]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 0x88]
sub eax, dword [ecx + 0x84]
sar eax, 4
xor esi, esi
jmp 0x4383c4
cmp dword [ecx], 4
jne 0x4383ca
mov eax, dword [ecx + 0x7c]
sub eax, dword [ecx + 0x78]
sar eax, 2
mov dword [ebp - 0x10d0], eax
xor eax, eax
lea edi, [ebp - 0x105c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x105c], esi
mov dword [ebp - 0x1058], esi
mov dword [ebp - 0x1054], esi
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x1064], xmm0
call fcn.00410799
lea ecx, [ebp - 0x10e9]
push ecx
push eax
lea ecx, [ebp - 0x1064]
call fcn.004353e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1064]
mov eax, dword [ecx]
mov dword [ebp - 0x10f0], eax
cmp eax, ecx
je 0x43847f
mov edi, dword [ebp - 0x1058]
add eax, 0x38c
cmp edi, dword [ebp - 0x1054]
je 0x438451
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1058]
add edi, 0x10
mov dword [ebp - 0x1058], edi
jmp 0x438464
push eax
push edi
lea ecx, [ebp - 0x105c]
call fcn.0042b2d8
mov edi, dword [ebp - 0x1058]
lea ecx, [ebp - 0x10f0]
call fcn.00425462
mov eax, dword [ebp - 0x10f0]
cmp eax, dword [ebp - 0x1064]
jne 0x43842d
xor esi, esi
lea eax, [ebp - 0x105c]
mov dword [ebp - 0x10e4], eax
call fcn.00410799
mov ecx, eax
call fcn.00430dc2
movzx eax, al
push 0x40
mov dword [ebp - 0x107c], eax
lea eax, [ebp - 0x50]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebx + 0x108]
lea eax, [ebp - 0x50]
add esp, 0xc
push 0x40
push eax
call fcn.0043aaec
test al, al
lea ecx, [ebp - 0x50]
push 1
cmove ecx, dword [ebp - 0x10dc]
lea eax, [ebp - 0x10e8]
mov dword [ebp - 0x10dc], ecx
lea ecx, [ebx + 0x2a4]
push eax
call fcn.0040f308
mov ecx, dword [ebp - 0x105c]
mov byte [ebp - 0x10e9], al
mov dword [ebp - 0x1058], ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1064]
push eax
mov ecx, eax
call fcn.0040fa20
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x105c]
test ecx, ecx
je 0x43853e
mov eax, dword [ebp - 0x1054]
sub eax, ecx
and eax, 0xfffffff0
push eax
push ecx
call fcn.00402740
pop ecx
pop ecx
mov dword [ebp - 0x105c], esi
mov dword [ebp - 0x1058], esi
mov dword [ebp - 0x1054], esi
mov al, byte [ebp - 0x10e9]
test al, al
je 0x43856f
call fcn.0040f243
mov ecx, ebx
lea edx, [eax + 4]
movzx eax, word [edx]
push eax
push edx
call fcn.00438963
cmp word [ebp + 8], 0
jne 0x43856f
call fcn.0040f243
mov ecx, eax
call fcn.0040f40e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004619c0
leave
ret 0x1c
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x40], al
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x3f], al
mov al, byte [ebx + 0x42a]
mov byte [ebp - 0x33], al
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x34], al
mov eax, dword [ebx + 0x410]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x10c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0xc4]
push eax
lea eax, [ebp - 0x1100]
mov byte [ebp - 0x31], 0
push eax
call fcn.004587fe
mov esi, eax
lea edi, [ebp - 0x28]
mov eax, dword [ebx + 0xb0]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x2b8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], eax
mov al, byte [ebx + 0x410]
and al, 1
mov byte [ebp - 0x3e], al
mov al, byte [ebp + 0x20]
mov byte [ebp - 0x3d], al
call fcn.0042ed04
push dword [ebp + 8]
mov byte [ebp - 0x32], al
lea ecx, [ebx + 0x2a4]
lea eax, [ebp - 0x40]
push eax
call fcn.0040f308
jmp 0x438544