Function at 0x4a6bd0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0acb
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
lea ecx, [ebp - 0x3c]
call fcn.00430200
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
push edx
call fcn.00478ba0
mov ecx, eax
call fcn.00414060
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x48], 0
jmp 0x4a6c4d
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x3c]
call fcn.004b9730
cmp dword [ebp - 0x48], eax
jg 0x4a7119
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [ebp - 0x64]
call fcn.004b3550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004b34a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0
jne 0x4a6c92
push 0x6083d4
push 0
lea ecx, [ebp - 0x64]
call fcn.004b54e0
jmp 0x4a6cbb
mov ecx, dword [ebp - 0x48]
sub ecx, 1
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00430700
push eax
push 0
lea ecx, [ebp - 0x64]
call fcn.004b54c0
push str.HKU_
push 0
lea ecx, [ebp - 0x64]
call fcn.004b54e0
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.00414b70
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4a6d27
lea eax, [ebp - 0x58]
push eax
push str.ProxyServer
mov ecx, dword [ebp - 0x4c]
call fcn.004141d0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
je 0x4a6d1d
push 1
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xfc], eax
jmp 0x4a6d27
mov dword [ebp - 0xfc], 0
lea ecx, [ebp - 0x58]
call fcn.00404b70
test eax, eax
jle 0x4a70fc
lea ecx, [ebp - 0x78]
call fcn.004b34a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.004b34a0
mov byte [ebp - 4], 4
push 0
push 0x609eac
lea ecx, [ebp - 0x58]
call fcn.004b5100
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jl 0x4a6e20
mov ecx, dword [ebp - 0x6c]
add ecx, 5
push ecx
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x58]
call fcn.004b64e0
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004b3890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.004b3860
push 0x609eb8
lea ecx, [ebp - 0x58]
call fcn.004b4fc0
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jle 0x4a6e20
mov edx, dword [ebp - 0x88]
push edx
push 0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x58]
call fcn.004b6620
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x58]
call fcn.004b3890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.004b3860
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x78]
push ecx
push 0x3a
lea ecx, [ebp - 0x58]
call fcn.004b6400
movzx edx, al
test edx, edx
jne 0x4a6e41
jmp 0x4a70e1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.004a5b70
add esp, 0xc
movzx edx, al
test edx, edx
je 0x4a70e1
push 1
push 0x609ebc
lea ecx, [ebp - 0x78]
call fcn.004b4b20
movzx eax, al
test eax, eax
jne 0x4a6ea6
push 0
push str.localhost
lea ecx, [ebp - 0x78]
call fcn.004b4b20
movzx ecx, al
test ecx, ecx
jne 0x4a6ea6
push 0
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x78]
call fcn.004b4b20
movzx eax, al
test eax, eax
je 0x4a70e1
mov byte [ebp - 0x89], 0
movzx ecx, byte [ebp - 0x89]
test ecx, ecx
jne 0x4a70e1
xor edx, edx
cmp dword [ebp - 0x48], 0
sete dl
push edx
push str.Policies_DisableProxy_Title_d
lea eax, [ebp - 0xdc]
push eax
call fcn.004b4d50
add esp, 0xc
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xf8]
mov ecx, dword [ecx + 4]
call fcn.0041b330
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xdc]
call fcn.004b3860
push str.Policies_DisableProxy_Description
lea ecx, [ebp - 0xe8]
call fcn.004b3550
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xf8]
mov ecx, dword [ecx + 4]
call fcn.0041b330
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xe8]
call fcn.004b3860
push 0x60
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xf0], 0
je 0x4a6f99
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.004a5db0
mov dword [ebp - 0x118], eax
jmp 0x4a6fa3
mov dword [ebp - 0x118], 0
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0xec], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xac]
call fcn.004553f0
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.00490030
mov ecx, dword [ebp - 0xa0]
call fcn.00435950
push eax
mov ecx, dword [ebp - 0xf8]
mov ecx, dword [ecx + 4]
call fcn.0042c160
mov byte [ebp - 0xad], al
movzx edx, byte [ebp - 0xad]
test edx, edx
sete al
movzx ecx, al
push ecx
mov ecx, dword [ebp - 0xa0]
call fcn.00412490
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
call fcn.0041e250
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0xa0]
call fcn.00409180
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.0040fb30
push 7
mov ecx, dword [ebp - 0x9c]
call fcn.0040fb50
push 8
mov ecx, dword [ebp - 0x9c]
call fcn.0040fb50
movzx eax, byte [ebp - 0xad]
neg eax
sbb eax, eax
neg eax
add eax, 7
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.0040fa60
push 1
mov ecx, dword [ebp - 0x9c]
call fcn.0040f9c0
movzx ecx, byte [ebp - 0xad]
test ecx, ecx
jne 0x4a70b6
movzx edx, byte [ebp - 0x41]
test edx, edx
jne 0x4a70b6
mov byte [ebp - 0x41], 1
movzx eax, byte [ebp - 0x41]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.0040fa10
push 1
mov ecx, dword [ebp - 0x9c]
call fcn.0040faa0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xac]
call fcn.004b3860
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x98]
call fcn.004b3860
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.004b3860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.004b3860
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004b3860
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004b3860
jmp 0x4a6c44
mov byte [ebp - 0xf1], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00430250
mov al, byte [ebp - 0xf1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 4