Function at 0x4124a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef782
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x51e584]
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
xor ebx, ebx
mov esi, 0xf
mov edi, ecx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 0x13c], bl
mov dword [ebp - 4], ebx
cmp dword [0x526130], ebx
jne 0x412516
cmp dword [0x526134], ebx
jne 0x412516
push 1
call fcn.004819d0
add esp, 4
call fcn.0040db80
mov dword [0x526130], eax
mov dword [0x526134], edx
cmp dword [0x522370], ebx
jne 0x412576
push 0x63
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.00485960
add esp, 0xc
lea ecx, [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x2b0], 0x64
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x412565
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412555
sub eax, edx
push eax
lea eax, [ebp - 0x78]
push eax
jmp 0x41256c
push 0xd
push str.GetNameFailed
mov ecx, 0x522360
call fcn.00402a70
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2b0], eax
cmp eax, ebx
jne 0x412587
xor edi, edi
jmp 0x4125c8
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.00482445
mov edx, dword [ebp - 0x2b0]
add esp, 4
push ebx
push ebx
push edi
push eax
push 0xffffffffffffffff
push edx
push ebx
push ebx
mov dword [ebp - 0x2b4], eax
mov byte [eax + edi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [ebp - 0x2b4]
mov eax, edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
mov byte [ebp - 0xb0], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4125e0
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0xb0]
call fcn.00402a70
push edi
mov byte [ebp - 4], 1
call fcn.00482828
add esp, 4
cmp dword [0x52238c], ebx
jne 0x412660
cmp dword [ebp - 0x9c], 0x10
mov ecx, dword [ebp - 0xb0]
jae 0x412620
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0x13c]
push eax
lea edi, [ebp - 0x94]
call fcn.00405f80
push eax
mov ecx, 0x52237c
mov byte [ebp - 4], 2
call fcn.00402890
mov edi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x80], edi
jb 0x412665
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.00481974
add esp, 4
jmp 0x412665
mov edi, 0x10
push 7
push str.1.1.4.5
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
call fcn.00402a70
mov byte [ebp - 4], 3
push 1
push 0x50d8b8
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
call fcn.00402a70
mov dword [ebp - method.tpsp::CCurl.virtual_0], vtable.tpsp::CCurl.0
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x270], bl
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
mov byte [ebp - 4], 7
push 0x31
push str.dssp.stnts.com:8888_optputmqey_tpspstartdata
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 0xe8], bl
call fcn.00402a70
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], ebx
mov byte [ebp - 0x120], bl
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x2ac]
push str.gid
push eax
mov byte [ebp - 4], 9
call fcn.00420c10
add esp, 0xc
push str.mac
push eax
lea ecx, [ebp - 0x94]
push ecx
mov byte [ebp - 4], 0xa
call fcn.004065a0
add esp, 0xc
lea edx, [ebp - 0x13c]
push edx
push eax
lea eax, [ebp - 0x200]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040d2b0
add esp, 0xc
push str.pcname
push eax
lea ecx, [ebp - 0x190]
push ecx
mov byte [ebp - 4], 0xc
call fcn.004065a0
add esp, 0xc
push 0x522360
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x174]
push edx
call fcn.0040d2b0
add esp, 0xc
push str.bootid
push eax
lea eax, [ebp - 0x238]
push eax
mov byte [ebp - 4], 0xe
call fcn.004065a0
add esp, 0xc
push 0x52237c
push eax
lea ecx, [ebp - 0x1e4]
push ecx
mov byte [ebp - 4], 0xf
call fcn.0040d2b0
add esp, 0xc
push str.ver
push eax
lea edx, [ebp - 0x1c8]
push edx
mov byte [ebp - 4], 0x10
call fcn.004065a0
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push eax
lea edx, [ebp - 0x158]
push edx
mov byte [ebp - 4], 0x11
call fcn.0040d2b0
add esp, 0xc
push str.isclient
push eax
lea eax, [ebp - 0x1ac]
push eax
mov byte [ebp - 4], 0x12
call fcn.004065a0
add esp, 0xc
lea ecx, [ebp - 0xcc]
push ecx
push eax
lea edx, [ebp - 0x21c]
push edx
mov byte [ebp - 4], 0x13
call fcn.0040d2b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0x14
call fcn.00404310
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x208], edi
jb 0x412878
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x20c], ebx
mov byte [ebp - 0x21c], bl
cmp dword [ebp - 0x198], edi
jb 0x4128a5
mov ecx, dword [ebp - 0x1ac]
push ecx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x19c], ebx
mov byte [ebp - 0x1ac], bl
cmp dword [ebp - 0x144], edi
jb 0x4128d2
mov edx, dword [ebp - 0x158]
push edx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
cmp dword [ebp - 0x1b4], edi
jb 0x4128ff
mov eax, dword [ebp - 0x1c8]
push eax
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 0x1c8], bl
cmp dword [ebp - 0x1d0], edi
jb 0x41292c
mov ecx, dword [ebp - 0x1e4]
push ecx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x1d4], ebx
mov byte [ebp - 0x1e4], bl
cmp dword [ebp - 0x224], edi
jb 0x412959
mov edx, dword [ebp - 0x238]
push edx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
cmp dword [ebp - 0x160], edi
jb 0x412986
mov eax, dword [ebp - 0x174]
push eax
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x164], ebx
mov byte [ebp - 0x174], bl
cmp dword [ebp - 0x17c], edi
jb 0x4129b3
mov ecx, dword [ebp - 0x190]
push ecx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x180], ebx
mov byte [ebp - 0x190], bl
cmp dword [ebp - 0x1ec], edi
jb 0x4129e0
mov edx, dword [ebp - 0x200]
push edx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1ec], esi
mov dword [ebp - 0x1f0], ebx
mov byte [ebp - 0x200], bl
cmp dword [ebp - 0x80], edi
jb 0x412a0a
mov eax, dword [ebp - 0x94]
push eax
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 9
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
cmp dword [ebp - 0x298], edi
jb 0x412a34
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.00481974
add esp, 4
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.00404750
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x15
call fcn.00403470
mov byte [ebp - 4], 9
cmp dword [ebp - 0x80], edi
jb 0x412a7a
mov edx, dword [ebp - 0x94]
push edx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 8
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
cmp dword [ebp - 0x10c], edi
jb 0x412aa4
mov eax, dword [ebp - 0x120]
push eax
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0xd4], edi
jb 0x412abf
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.00481974
add esp, 4
lea ecx, [ebp - 0x290]
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 0xe8], bl
mov byte [ebp - 4], 4
call fcn.004033b0
mov byte [ebp - 4], 3
cmp dword [ebp - 0xb8], edi
jb 0x412afb
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
cmp dword [ebp - 0xf0], edi
jb 0x412b28
mov eax, dword [ebp - 0x104]
push eax
call fcn.00481974
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
cmp dword [ebp - 0x9c], edi
jb 0x412b54
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.00481974
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
mov byte [ebp - 0xb0], bl
cmp dword [ebp - 0x128], edi
jb 0x412b84
mov edx, dword [ebp - 0x13c]
push edx
call fcn.00481974
add esp, 4
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.004815c9
mov esp, ebp
pop ebp
ret