Function at 0x51e710
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ecx, ecx
push 0xfe
push ecx
lea edx, [ebp - 0x102]
push edx
mov dword [ebp - 0x108], eax
mov word [ebp - 0x104], cx
call fcn.0055aed0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x104]
push ecx
push 1
mov dword [ebp - 0x114], 0x7f
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea eax, [ebp - 0x104]
xor edx, edx
push eax
mov word [ebp - 0xc4], dx
call fcn.00562e43
mov eax, dword [edi]
add esp, 4
cmp byte [eax + 0x298], 0
mov ebx, 8
je 0x51e8ca
cmp byte [eax + 0x2af], 0
je 0x51e851
cmp dword [eax + 0x270], ebx
lea ecx, [eax + 0x25c]
jb 0x51e7bb
mov ecx, dword [ecx]
cmp dword [eax + 0x254], ebx
mov dword [ebp - 0x110], ecx
lea ecx, [eax + 0x240]
jb 0x51e7d9
mov edx, dword [ecx]
mov dword [ebp - 0x10c], edx
jmp 0x51e7df
mov dword [ebp - 0x10c], ecx
cmp dword [eax + 0x238], ebx
lea edi, [eax + 0x224]
jb 0x51e7ef
mov edi, dword [edi]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [esi + 0x14]
mov eax, dword [eax + 0x2b4]
push ebx
push ecx
inc edx
push edx
add esi, 0x76c
push esi
push eax
mov eax, dword [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x10c]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0x108]
push esi
push edi
push str._s_04d_02d_02d_s_s__s__02d__04d_02d_02d__04d.txt
push ecx
push edx
call fcn.005613c2
add esp, 0x3c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret 0x10
cmp dword [eax + 0x270], ebx
jb 0x51e861
mov edi, dword [eax + 0x25c]
jmp 0x51e867
lea edi, [eax + 0x25c]
cmp dword [eax + 0x254], ebx
jb 0x51e877
mov edx, dword [eax + 0x240]
jmp 0x51e87d
lea edx, [eax + 0x240]
cmp dword [eax + 0x238], ebx
lea ecx, [eax + 0x224]
jb 0x51e88d
mov ecx, dword [ecx]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 0x2b4]
push ebx
mov ebx, dword [esi + 0xc]
push ebx
mov ebx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
inc ebx
push ebx
add esi, 0x76c
push esi
push eax
push edi
lea eax, [ebp - 0x104]
push eax
push edx
mov edx, dword [ebp - 0x108]
push ecx
mov ecx, dword [ebp + 0x14]
push str._s_s_s__s__02d__04d_02d_02d__04d.txt
push ecx
push edx
jmp 0x51e9c3
cmp byte [eax + 0x2af], 0
jne 0x51e94f
cmp dword [eax + 0x270], ebx
jb 0x51e8e3
mov esi, dword [eax + 0x25c]
jmp 0x51e8e9
lea esi, [eax + 0x25c]
cmp dword [eax + 0x254], ebx
jb 0x51e8f9
mov edx, dword [eax + 0x240]
jmp 0x51e8ff
lea edx, [eax + 0x240]
cmp dword [eax + 0x238], ebx
lea ecx, [eax + 0x224]
jb 0x51e90f
mov ecx, dword [ecx]
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0x2b4]
push edi
push eax
push esi
lea eax, [ebp - 0x104]
push eax
push edx
mov edx, dword [ebp - 0x108]
push ecx
mov ecx, dword [ebp + 0x14]
push str._s_s_s__s__02d__04d.txt
push ecx
push edx
call fcn.005613c2
add esp, 0x24
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret 0x10
cmp dword [eax + 0x270], ebx
jb 0x51e95f
mov edi, dword [eax + 0x25c]
jmp 0x51e965
lea edi, [eax + 0x25c]
cmp dword [eax + 0x254], ebx
jb 0x51e975
mov edx, dword [eax + 0x240]
jmp 0x51e97b
lea edx, [eax + 0x240]
cmp dword [eax + 0x238], ebx
lea ecx, [eax + 0x224]
jb 0x51e98b
mov ecx, dword [ecx]
mov eax, dword [eax + 0x2b4]
mov ebx, dword [ebp + 0xc]
push ebx
push eax
push edi
lea eax, [ebp - 0x104]
push eax
mov eax, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 0x14]
inc eax
push eax
mov eax, dword [ebp + 0x14]
add edx, 0x76c
push edx
push ecx
mov ecx, dword [ebp - 0x108]
push str._s_04d_02d_02d_s_s__s__02d__04d.txt
push eax
push ecx
call fcn.005613c2
mov ecx, dword [ebp - 4]
add esp, 0x30
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret 0x10