Function at 0x2d83163d
Capabilities:
Get hostname

Disassembly:
push 0x23c
mov eax, 0x2d8e4422
call fcn.2d805e23
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b0], edi
test eax, eax
je 0x2d83204c
push eax
call fcn.2d8c7586
push 0x44
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x204]
push eax
push esi
call fcn.2d8c25cb
add esp, 0x18
test eax, eax
jne 0x2d83204c
push 0x2d8fa248
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], bl
call fcn.2d806319
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
cmp dword [ebp - 0x1fc], ebx
je 0x2d8317f8
cmp dword [ebp - 0x200], ebx
jle 0x2d8317f8
push 0xf
pop esi
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], esi
mov byte [ebp - 0x140], bl
call fcn.2d806319
push dword [ebp - 0x200]
xor eax, eax
lea ecx, [ebp - 0x140]
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x170]
push ebx
push eax
call fcn.2d8c25cb
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x2d83172c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x128], bl
call fcn.2d806319
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x158]
push eax
mov byte [ebp - 4], 3
call fcn.2d806562
cmp dword [ebp - 0x114], 0x10
mov byte [ebp - 4], 4
jb 0x2d8317a6
cmp dword [ebp - 0x128], 0
je 0x2d8317a6
mov eax, dword [0x2d966aec]
push dword [ebp - 0x128]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
push 0xf
pop esi
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x128], bl
call fcn.2d8c25cb
cmp dword [ebp - 0x12c], 0x10
mov byte [ebp - 4], 5
jb 0x2d8317f2
cmp dword [ebp - 0x140], 0
je 0x2d8317f2
mov eax, dword [0x2d966aec]
push dword [ebp - 0x140]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
xor eax, eax
mov byte [ebp - 4], bl
inc eax
mov ecx, dword [ebp - 0x204]
test ecx, ecx
je 0x2d831fb9
jle 0x2d831816
cmp ecx, 2
jle 0x2d831847
cmp ecx, 4
je 0x2d83200b
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
push str.javascript
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.2d8c25cb
pop ecx
pop ecx
test eax, eax
je 0x2d83200e
xor eax, eax
inc eax
jmp 0x2d832011
push 0xf
pop esi
push 0x2d8fa248
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], esi
mov byte [ebp - 0x1a0], bl
call fcn.2d806319
cmp dword [ebp - 0x1e4], 0
mov byte [ebp - 4], 0xb
je 0x2d8319a1
cmp dword [ebp - 0x1e8], 0
jle 0x2d8319a1
push dword [ebp - 0x1e4]
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], esi
mov byte [ebp - 0x140], bl
call fcn.2d806319
push dword [ebp - 0x1e8]
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 0xc
push ebx
push eax
lea ecx, [ebp - 0x140]
call fcn.2d8c25cb
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x2d8318d6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x128], bl
call fcn.2d806319
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x1a0]
push eax
mov byte [ebp - 4], 0xe
call fcn.2d806562
cmp dword [ebp - 0x114], 0x10
mov byte [ebp - 4], 0xf
jb 0x2d83194d
cmp dword [ebp - 0x128], 0
je 0x2d83194d
mov eax, dword [0x2d966aec]
push dword [ebp - 0x128]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], bl
call fcn.2d8c25cb
cmp dword [ebp - 0x12c], 0x10
mov byte [ebp - 4], 0x10
jb 0x2d83199d
cmp dword [ebp - 0x140], 0
je 0x2d83199d
mov eax, dword [0x2d966aec]
push dword [ebp - 0x140]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
mov byte [ebp - 4], 0xb
mov eax, dword [0x2d966abc]
push edi
mov esi, dword [eax + 0x13c]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
mov ecx, dword [0x2d966aec]
mov edi, eax
push edi
mov esi, dword [ecx + 0x98]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
mov ecx, dword [0x2d966aec]
mov ebx, eax
push edi
mov esi, dword [ecx + 0x94]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
lea ecx, [ebp - 0x1ac]
mov esi, eax
call fcn.2d8beb2c
push esi
push ebx
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x11
call fcn.2d8b932d
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.2d8b8955
pop ecx
pop ecx
test al, al
je 0x2d831f58
lea ecx, [ebp - 0x1ac]
call fcn.2d8c25cb
push 0x44
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x248]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x248]
push eax
push esi
call fcn.2d8c25cb
add esp, 0x14
test eax, eax
jne 0x2d831f5a
push 0x2d8fa248
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], bl
call fcn.2d806319
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x248], ebx
je 0x2d831f06
cmp dword [ebp - 0x248], 4
je 0x2d831be3
cmp dword [ebp - 0x228], ebx
je 0x2d831def
cmp dword [ebp - 0x22c], ebx
jle 0x2d831def
push dword [ebp - 0x228]
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], bl
call fcn.2d806319
push dword [ebp - 0x22c]
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 0x23
push ebx
push eax
lea ecx, [ebp - 0x140]
call fcn.2d8c25cb
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x24
jb 0x2d831b0c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], bl
call fcn.2d806319
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x188]
push eax
mov byte [ebp - 4], 0x25
call fcn.2d806562
cmp dword [ebp - 0x114], 0x10
mov byte [ebp - 4], 0x26
jb 0x2d831b87
cmp dword [ebp - 0x128], 0
je 0x2d831b87
mov eax, dword [0x2d966aec]
push dword [ebp - 0x128]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], bl
call fcn.2d8c25cb
cmp dword [ebp - 0x12c], 0x10
mov byte [ebp - 4], 0x27
jb 0x2d831deb
cmp dword [ebp - 0x140], 0
je 0x2d831deb
mov eax, dword [0x2d966aec]
push dword [ebp - 0x140]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
jmp 0x2d831dea
push ebx
mov byte [ebp - 0x1a8], bl
lea ecx, [ebp - 0x140]
push dword [ebp - 0x1a8]
xor eax, eax
mov dword [ebp - 0x130], ebx
mov esi, 0x100
mov dword [ebp - 0x12c], 7
push esi
mov word [ebp - 0x140], ax
call fcn.2d8c25cb
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x1b4]
cmp dword [ebp - 0x12c], 8
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x140]
cmovae eax, dword [ebp - 0x140]
push ecx
push eax
mov byte [ebp - 4], 0x1b
call dword [sym.imp.kernel32.dll_GetComputerNameW]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], bl
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.2d8359b5
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push ebx
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.2d8c25cb
add esp, 0x1c
mov dword [ebp - 0x160], ebx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x15c], 0xf
lea ecx, [ebp - 0x170]
mov byte [ebp - 0x170], bl
push eax
call fcn.2d806319
cmp dword [ebp - 0x15c], 0x10
lea eax, [ebp - 0x170]
push dword [ebp - 0x160]
cmovae eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x188]
push eax
mov byte [ebp - 4], 0x1d
call fcn.2d806562
cmp dword [ebp - 0x15c], 0x10
mov byte [ebp - 4], 0x1e
jb 0x2d831d26
cmp dword [ebp - 0x170], 0
je 0x2d831d26
mov eax, dword [0x2d966aec]
push dword [ebp - 0x170]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
mov eax, dword [ebp - 0x114]
mov esi, 0x1000
cmp eax, 0x10
jb 0x2d831d7b
mov ecx, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a8], ecx
mov byte [ebp - 4], 0x1f
cmp eax, esi
jb 0x2d831d72
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.2d8c25cb
mov eax, dword [ebp - 0x1a4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a8]
push eax
push ecx
call fcn.2d8c25cb
pop ecx
pop ecx
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], bl
mov byte [ebp - 4], 0x17
cmp eax, 8
jb 0x2d831def
mov ecx, dword [ebp - 0x140]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], ecx
mov byte [ebp - 4], 0x20
cmp eax, esi
jb 0x2d831de2
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.2d8c25cb
mov eax, dword [ebp - 0x1a8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a4]
push eax
push ecx
call fcn.2d8c25cb
pop ecx
pop ecx
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x18c], 0x10
lea ecx, [ebp - 0x1a0]
lea eax, [ebp - 0x188]
cmovae ecx, dword [ebp - 0x1a0]
cmp dword [ebp - 0x174], 0x10
push ecx
cmovae eax, dword [ebp - 0x188]
push eax
call fcn.2d8c25cb
pop ecx
pop ecx
test eax, eax
jne 0x2d831e2a
inc eax
jmp 0x2d831f08
cmp dword [ebp - 0x1b0], 0
jne 0x2d831e3b
xor eax, eax
inc eax
jmp 0x2d831f0b
mov eax, dword [0x2d966b20]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x2d8f7384]
call esi
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x2d831e61
mov eax, ebx
jmp 0x2d831f0e
mov edi, dword [0x2d966b20]
push dword [ebp - 0x1b8]
mov esi, dword [edi + 0x94]
mov ecx, esi
call dword [0x2d8f7384]
call esi
mov esi, dword [edi + 0x11c]
pop ecx
push eax
push 0x2d8fb0f8
push dword [ebp - 0x1a4]
mov ecx, esi
call dword [0x2d8f7384]
call esi
mov eax, dword [0x2d966b20]
add esp, 0xc
mov edi, dword [ebp - 0x1a4]
mov esi, dword [eax + 0xc8]
mov ecx, esi
push ebx
push str.PhonehomeCheck
push edi
call dword [0x2d8f7384]
call esi
add esp, 0xc
xor eax, eax
inc eax
push edi
push eax
mov eax, dword [0x2d966848]
push dword [ebp - 0x1b0]
mov esi, dword [eax + 0x958]
mov ecx, esi
call dword [0x2d8f7384]
call esi
movzx edi, ax
add esp, 0xc
mov eax, dword [0x2d966b20]
push dword [ebp - 0x1a4]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
jmp 0x2d831f11
mov eax, ebx
movzx eax, ax
movzx eax, ax
movzx edi, ax
cmp dword [ebp - 0x174], 0x10
mov byte [ebp - 4], 0x31
jb 0x2d831f40
cmp dword [ebp - 0x188], 0
je 0x2d831f40
mov eax, dword [0x2d966aec]
push dword [ebp - 0x188]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], bl
jmp 0x2d831f5c
xor ebx, ebx
mov edi, ebx
lea ecx, [ebp - 0x1c0]
call fcn.2d8c25cb
lea ecx, [ebp - 0x1ac]
call fcn.2d817dea
cmp dword [ebp - 0x18c], 0x10
mov byte [ebp - 4], 0x32
jb 0x2d831fa1
cmp dword [ebp - 0x1a0], 0
je 0x2d831fa1
mov eax, dword [0x2d966aec]
push dword [ebp - 0x1a0]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], bl
jmp 0x2d832014
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
push 0x2d8fcdbc
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.2d8c25cb
pop ecx
pop ecx
test eax, eax
je 0x2d832003
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
push 0x2d8fcdc4
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.2d8c25cb
pop ecx
pop ecx
test eax, eax
jne 0x2d832008
xor eax, eax
lea ebx, [eax + 1]
movzx eax, bx
movzx ebx, ax
movzx eax, bx
movzx edi, ax
cmp dword [ebp - 0x144], 0x10
mov dword [ebp - 4], 0x33
jb 0x2d832047
cmp dword [ebp - 0x158], 0
je 0x2d832047
mov ecx, dword [0x2d966aec]
push dword [ebp - 0x158]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x2d8f7384]
call esi
pop ecx
mov ax, di
jmp 0x2d83204e
xor eax, eax
call fcn.2d8076ce
ret