Function at 0x49a3a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x49a7bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49a78d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0049af08
mov esi, dword [eax + 0xc]
mov dword [edi + 0xc], esi
mov dword [ebp - 0x18], esi
mov dl, 1
mov eax, dword [0x418a64]
call fcn.00403970
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov cl, 3
mov dl, 1
mov eax, dword [0x477f9c]
call fcn.004782b8
mov esi, eax
mov dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
jne 0x49a43c
call fcn.0040e150
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00499610
push dword [ebp - 0x34]
push 0x49a7d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push dword [eax + 0x74]
lea eax, [edi + 0x10]
mov edx, 3
call fcn.00404ab0
xor eax, eax
push ebp
push 0x49a74b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, esi
call fcn.004039a0
mov eax, dword [ebp - 0x10]
call fcn.0041d1dc
mov esi, eax
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov ecx, esi
mov eax, 0x17101975
call fcn.00497068
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x418a64]
call fcn.00403970
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x49a73a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov ecx, 0xc
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x10]
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0041d478
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, ebx
call fcn.00499658
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
call fcn.004996c4
mov eax, dword [0x4c4940]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004749b0
mov eax, dword [0x4c4940]
mov eax, dword [eax]
mov ecx, dword [eax + 0x6c]
mov dl, 1
mov eax, dword [0x499938]
call fcn.0046f090
mov edx, dword [0x4c46c8]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x49a71d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
call fcn.004733e8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
mov eax, 0x49a120
call fcn.004066bc
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x4c4798]
mov eax, dword [eax]
mov edx, 0x49a7e4
mov esi, dword [eax]
call dword [esi + 0x4c]
mov eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
lea edx, [ebp - 0x50]
mov ecx, 1
pop eax
call fcn.00409f94
mov edx, dword [ebp - 0x38]
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00456274
mov eax, dword [0x4c4940]
mov eax, dword [eax]
call fcn.00474448
mov edx, eax
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x49a5c7
adc edx, 0
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
call fcn.004559b4
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x80]
xor eax, eax
push ebp
push 0x49a6fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00499820
mov eax, dword [ebp - 4]
call fcn.0049b01c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x80], 0
je 0x49a6e0
xor eax, eax
push ebp
push 0x49a6d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x58]
mov eax, 0x49a120
call fcn.004066bc
mov ecx, dword [ebp - 0x58]
mov eax, dword [0x4c4798]
mov eax, dword [eax]
mov edx, 0x49a7e4
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov edx, dword [ebp - 0x54]
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00456274
mov eax, dword [0x4c4940]
mov eax, dword [eax]
call fcn.00474448
mov edx, eax
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x49a68c
adc edx, 0
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
call fcn.004559b4
mov eax, dword [0x4c46c8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00499298
mov eax, dword [ebp - 4]
call fcn.0049b01c
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a6e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00499834
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a703
mov eax, dword [0x4c4940]
mov eax, dword [eax]
xor edx, edx
call fcn.004749b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a7c4
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404754
lea eax, [ebp - 0x34]
call fcn.00404730
ret