Function at 0x51ecb0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcd4
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [ebp - 0x638]
mov ecx, 9
lea esi, [ebp + 8]
lea edi, [ebp - 0x638]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0056246b
mov ecx, eax
mov esi, edx
mov edx, dword [ebx]
mov eax, dword [edx + 0x2a4]
imul eax, eax, 0x15180
cdq
sub ecx, eax
sbb esi, edx
xor eax, eax
push 0x208
mov dword [ebp - 0xcd0], ecx
push eax
lea ecx, [ebp - 0x612]
push ecx
mov dword [ebp - 0xccc], esi
mov word [ebp - 0x614], ax
call fcn.0055aed0
xor edx, edx
push 0x200
push edx
lea eax, [ebp - 0x206]
push eax
mov word [ebp - 0x208], dx
call fcn.0055aed0
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x406]
push edx
mov word [ebp - 0x408], cx
call fcn.0055aed0
add esp, 0x28
lea eax, [ebp - 0xcd4]
push eax
lea ecx, [ebp - 0x408]
push ecx
push 1
mov dword [ebp - 0xcd4], 0xff
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea eax, [ebp - 0x408]
xor edx, edx
push eax
mov word [ebp - 0x3c8], dx
call fcn.00562e43
mov eax, dword [ebx]
add eax, 0x224
mov edi, 8
add esp, 4
cmp dword [eax + 0x14], edi
jb 0x51eda6
mov eax, dword [eax]
push eax
push str._s________
lea ecx, [ebp - 0x614]
push 0x104
push ecx
call fcn.005613c2
lea edx, [ebp - 0x868]
push edx
lea eax, [ebp - 0x614]
push eax
call fcn.00562eab
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x51ef93
mov edi, edi
test byte [ebp - 0x868], 0x10
je 0x51ef72
mov ax, word [ebp - 0x844]
lea ecx, [ebp - 0x844]
test ax, ax
je 0x51ee23
movzx eax, ax
add eax, 0xffffffd0
cmp ax, 9
ja 0x51ee19
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x51ee02
jmp 0x51ee23
cmp word [ecx], 0
jne 0x51ef72
mov eax, dword [ebx]
add eax, 0x224
cmp dword [eax + 0x14], edi
jb 0x51ee31
mov eax, dword [eax]
lea ecx, [ebp - 0x844]
push ecx
push eax
push 0x5c0974
lea edx, [ebp - 0x614]
push 0x104
push edx
call fcn.005613c2
mov eax, dword [ebx]
add esp, 0x14
cmp byte [eax + 0x298], 0
lea ecx, [eax + 0x25c]
je 0x51ee93
cmp dword [ecx + 0x14], edi
jb 0x51ee6a
mov ecx, dword [ecx]
mov eax, dword [eax + 0x2b4]
push eax
push ecx
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x614]
push edx
push str._s_s__s__02d______________.txt
push 0x100
lea eax, [ebp - 0x208]
push eax
jmp 0x51eec1
cmp dword [ecx + 0x14], edi
jb 0x51ee9a
mov ecx, dword [ecx]
mov edx, dword [eax + 0x2b4]
push edx
push ecx
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x614]
push ecx
push str._s_s__s__02d_____.txt
push 0x100
lea edx, [ebp - 0x208]
push edx
call fcn.005613c2
add esp, 0x1c
lea eax, [ebp - 0xcc8]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00562eab
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x51ef5e
jmp 0x51eef0
mov edx, dword [ebp - 0xcbc]
cmp edx, dword [ebp - 0xccc]
jg 0x51ef41
jl 0x51ef0e
mov eax, dword [ebp - 0xcc0]
cmp eax, dword [ebp - 0xcd0]
jae 0x51ef41
lea ecx, [ebp - 0xca4]
push ecx
lea edx, [ebp - 0x614]
push edx
push 0x5c0974
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.005613c2
lea ecx, [ebp - 0x208]
push ecx
call fcn.00563160
add esp, 0x18
lea edx, [ebp - 0xcc8]
push edx
push edi
call fcn.00562fd2
add esp, 8
test eax, eax
je 0x51eef0
push edi
call fcn.0055f2f9
add esp, 4
lea eax, [ebp - 0x614]
push eax
call fcn.00563100
add esp, 4
mov edi, 8
lea ecx, [ebp - 0x868]
push ecx
push esi
call fcn.00562fd2
add esp, 8
test eax, eax
je 0x51ede0
push esi
call fcn.0055f2f9
add esp, 4
mov eax, dword [ebx]
cmp byte [eax + 0x298], 0
je 0x51efdb
cmp dword [eax + 0x270], edi
jb 0x51efae
mov edx, dword [eax + 0x25c]
jmp 0x51efb4
lea edx, [eax + 0x25c]
cmp dword [eax + 0x238], edi
lea ecx, [eax + 0x224]
jb 0x51efc4
mov ecx, dword [ecx]
mov eax, dword [eax + 0x2b4]
push eax
push edx
lea edx, [ebp - 0x408]
push edx
push ecx
push str._s_s__s__02d______________.txt
jmp 0x51f016
cmp dword [eax + 0x270], edi
jb 0x51efeb
mov edx, dword [eax + 0x25c]
jmp 0x51eff1
lea edx, [eax + 0x25c]
cmp dword [eax + 0x238], edi
lea ecx, [eax + 0x224]
jb 0x51f001
mov ecx, dword [ecx]
mov eax, dword [eax + 0x2b4]
push eax
push edx
lea edx, [ebp - 0x408]
push edx
push ecx
push str._s_s__s__02d_____.txt
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.005613c2
add esp, 0x1c
lea ecx, [ebp - 0xa98]
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.00562eab
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x51f0c7
jmp 0x51f050
mov eax, dword [ebp - 0xa7c]
cmp eax, dword [ebp - 0xccc]
jg 0x51f0aa
jl 0x51f06e
mov ecx, dword [ebp - 0xa80]
cmp ecx, dword [ebp - 0xcd0]
jae 0x51f0aa
mov eax, dword [ebx]
add eax, 0x224
cmp dword [eax + 0x14], 8
jb 0x51f07d
mov eax, dword [eax]
lea edx, [ebp - 0xa74]
push edx
push eax
push 0x5c0974
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.005613c2
lea ecx, [ebp - 0x208]
push ecx
call fcn.00563160
add esp, 0x18
lea edx, [ebp - 0xa98]
push edx
push edi
call fcn.00562fd2
add esp, 8
test eax, eax
je 0x51f050
push edi
call fcn.0055f2f9
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret 0x24