Function at 0x4603d0
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x621692
push eax
mov eax, 0x3b90
mov dword fs:[0], esp
call fcn.00435930
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0xe46
xor eax, eax
lea edi, [esp + 0x288]
mov ebx, dword [esp + 0x3bb0]
mov dword [esp + 0x284], ebp
mov esi, dword [esp + 0x3bb4]
mov word [esp + 0x7c], bp
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [esp + 0x7e]
rep stosd dword es:[edi], eax
mov dword [ebx], ebp
mov dword [esi], ebp
stosw word es:[edi], ax
mov eax, dword [0x68faac]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x3ba8], ebp
mov dword [esp + 0x18], eax
lea eax, [esp + 0x7c]
push 0x103
push eax
push ebp
mov byte [esp + 0x3bb4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x46076a
mov ecx, dword [0x63f2ec]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x3bac], 2
call fcn.0044f0d0
push esi
lea eax, [esp + 0x288]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00461330
add esp, 0x10
test eax, eax
je 0x460537
push esi
lea edx, [esp + 0x288]
push ebx
push edx
mov dword [esp + 0x28], 1
call fcn.00464470
add esp, 0xc
test eax, eax
je 0x460537
lea eax, [esp + 0x20]
push eax
call fcn.005e6573
mov dword [ebx], ebp
push ebp
lea ecx, [esp + 0x24]
mov dword [esi], ebp
call fcn.005e65b2
mov edi, dword [eax + 0x14]
push ebp
lea ecx, [esp + 0x24]
add edi, 0x76c
call fcn.005e65b2
mov ebp, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x24]
inc ebp
call fcn.005e65b2
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0xc]
lea ecx, [ecx + ecx*4]
lea ecx, [ebp + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x2cc]
lea eax, [eax + edx*4]
cmp eax, ecx
jbe 0x4605cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [esi], 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x3ba8], 1
call fcn.0044edf0
mov eax, dword [esi]
lea ecx, [esp + 0x284]
push eax
push ecx
call fcn.004645c0
mov edx, dword [0x63f2ec]
add esp, 8
mov dword [esp + 0x24], edx
mov edi, dword [esp + 0x28]
mov bl, 3
test edi, edi
mov byte [esp + 0x3ba8], bl
jne 0x460847
cmp dword [0x6b2400], 1
je 0x460847
cmp dword [esi], 0x1d
je 0x460847
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x460847
lea eax, [esp + 0xd88]
lea ecx, [esp + 0x24]
push eax
call fcn.0044f0d0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46077d
push eax
lea ecx, [esp + 0x18]
call fcn.005f01d0
jmp 0x46079d
push esi
lea eax, [esp + 0x288]
push ebx
push eax
call fcn.00463e20
add esp, 0xc
test eax, eax
je 0x460537
push esi
lea ecx, [esp + 0x288]
push ebx
push ecx
call fcn.00463420
add esp, 0xc
test eax, eax
je 0x460537
xor ebp, ebp
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x2e]
cmp word [esp + 0x338], bp
mov word [esp + 0x2c], bp
rep stosd dword es:[edi], eax
mov dword [ebx], ebp
mov dword [esi], ebp
stosw word es:[edi], ax
mov dword [esp + 0x20], 0x28
je 0x460697
lea edx, [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x460652
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [esi], 0xc
jmp 0x460537
cmp word [esp + 0x338], 0
lea edi, [esp + 0x338]
je 0x460684
cmp ebp, 0xa
jge 0x460684
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.0050d940
add esp, 8
test eax, eax
jne 0x460697
add edi, 0x50
inc ebp
cmp word [edi], ax
jne 0x460664
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [esi], 7
jmp 0x460537
push esi
lea edx, [esp + 0x288]
push ebx
push edx
call fcn.004636f0
add esp, 0xc
test eax, eax
je 0x460537
mov ebp, dword [esp + 0x3bb8]
push ebp
push esi
lea eax, [esp + 0x28c]
push ebx
push eax
call fcn.004638d0
mov edi, eax
mov eax, dword [0x6b2400]
add esp, 0x10
cmp eax, 1
mov dword [esp + 0x28], edi
je 0x460537
test edi, edi
jne 0x460729
mov eax, dword [esi]
cmp eax, 0x1d
je 0x460729
cmp eax, 0x1e
je 0x460729
push 0x1389
lea ecx, [esp + 0x18]
call fcn.005f5ebf
test eax, eax
je 0x460757
push 0x138a
lea ecx, [esp + 0x1c]
call fcn.005f5ebf
test eax, eax
je 0x460757
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0x200000
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x6b2400], 1
je 0x460537
test edi, edi
jne 0x460537
mov eax, dword [esi]
cmp eax, 0x1d
je 0x460537
cmp eax, 0x1e
je 0x460537
jmp 0x4606b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [esi], 0x1f
jmp 0x460537
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [esi], 0xa
jmp 0x460548
push 0x1389
lea ecx, [esp + 0x18]
call fcn.005f5ebf
test eax, eax
jne 0x46079d
push str.Error__
lea ecx, [esp + 0x18]
call fcn.005f01a9
lea ecx, [esp + 0xf90]
push ecx
lea ecx, [esp + 0x28]
call fcn.0044f0d0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4607f0
push eax
lea ecx, [esp + 0x20]
call fcn.005f00e0
mov edx, dword [esi]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s___lu_
push ecx
mov byte [esp + 0x3bb8], 4
call fcn.005e6068
add esp, 0x10
mov byte [esp + 0x3ba8], bl
lea ecx, [esp + 0x1c]
jmp 0x46082b
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004610d0
add esp, 8
mov ecx, dword [eax]
mov edx, dword [esi]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x6947c8
push eax
mov byte [esp + 0x3bb8], 5
call fcn.005e6068
add esp, 0x10
mov byte [esp + 0x3ba8], bl
lea ecx, [esp + 0x1c]
call fcn.005f0020
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0x200000
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x24]
mov byte [esp + 0x3ba8], 1
call fcn.0044edf0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ba8], 0
call fcn.005f0020
lea ecx, [esp + 0x14]
mov dword [esp + 0x3ba8], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x3ba0]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3b9c
ret