Function at 0x2d831e3a
Capabilities:
Get hostname

Disassembly:
push 0x23c
mov eax, 0x2d8e5754
call fcn.2d805d6a
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b0], edi
test eax, eax
je 0x2d83284d
push eax
call fcn.2d8c80bc
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.2d817c10
add esp, 0x18
test eax, eax
jne 0x2d83284d
push 0x2d8fe258
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], bl
call fcn.2d8062b5
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
cmp dword [ebp - 0x1fc], ebx
je 0x2d831ff5
cmp dword [ebp - 0x200], ebx
jle 0x2d831ff5
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.2d8062b5
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.2d817c10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x2d831f29
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.2d8062b5
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.2d806400
cmp dword [ebp - 0x114], 0x10
mov byte [ebp - 4], 4
jb 0x2d831fa3
cmp dword [ebp - 0x128], 0
je 0x2d831fa3
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x128]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
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.2d817c10
cmp dword [ebp - 0x12c], 0x10
mov byte [ebp - 4], 5
jb 0x2d831fef
cmp dword [ebp - 0x140], 0
je 0x2d831fef
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x140]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
xor eax, eax
mov byte [ebp - 4], bl
inc eax
mov ecx, dword [ebp - 0x204]
sub ecx, ebx
je 0x2d8327ba
sub ecx, 1
je 0x2d832048
sub ecx, 1
je 0x2d832048
dec ecx
sub ecx, 1
je 0x2d83280c
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
push str.javascript
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.2d817c10
pop ecx
pop ecx
test eax, eax
je 0x2d83280f
xor eax, eax
inc eax
jmp 0x2d832812
push 0xf
pop esi
push 0x2d8fe258
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], esi
mov byte [ebp - 0x1a0], bl
call fcn.2d8062b5
cmp dword [ebp - 0x1e4], 0
mov byte [ebp - 4], 0xb
je 0x2d8321a2
cmp dword [ebp - 0x1e8], 0
jle 0x2d8321a2
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.2d8062b5
push dword [ebp - 0x1e8]
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 0xc
push ebx
push eax
lea ecx, [ebp - 0x140]
call fcn.2d817c10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x2d8320d7
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.2d8062b5
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.2d806400
cmp dword [ebp - 0x114], 0x10
mov byte [ebp - 4], 0xf
jb 0x2d83214e
cmp dword [ebp - 0x128], 0
je 0x2d83214e
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x128]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
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.2d817c10
cmp dword [ebp - 0x12c], 0x10
mov byte [ebp - 4], 0x10
jb 0x2d83219e
cmp dword [ebp - 0x140], 0
je 0x2d83219e
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x140]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
mov byte [ebp - 4], 0xb
mov eax, dword [0x2d96a8ac]
push edi
mov esi, dword [eax + 0x13c]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
mov ecx, dword [0x2d96a8d4]
mov edi, eax
push edi
mov esi, dword [ecx + 0x98]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
mov ecx, dword [0x2d96a8d4]
mov ebx, eax
push edi
mov esi, dword [ecx + 0x94]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
lea ecx, [ebp - 0x1ac]
mov esi, eax
call fcn.2d8bf69c
push esi
push ebx
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x11
call fcn.2d8b9e6d
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.2d8b9495
pop ecx
pop ecx
test al, al
je 0x2d832759
lea ecx, [ebp - 0x1ac]
call fcn.2d817c10
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.2d817c10
add esp, 0x14
test eax, eax
jne 0x2d83275b
push 0x2d8fe258
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], bl
call fcn.2d8062b5
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x248], ebx
je 0x2d832707
cmp dword [ebp - 0x248], 4
je 0x2d8323e4
cmp dword [ebp - 0x228], ebx
je 0x2d8325f0
cmp dword [ebp - 0x22c], ebx
jle 0x2d8325f0
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.2d8062b5
push dword [ebp - 0x22c]
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 0x23
push ebx
push eax
lea ecx, [ebp - 0x140]
call fcn.2d817c10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x24
jb 0x2d83230d
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.2d8062b5
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.2d806400
cmp dword [ebp - 0x114], 0x10
mov byte [ebp - 4], 0x26
jb 0x2d832388
cmp dword [ebp - 0x128], 0
je 0x2d832388
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x128]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
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.2d817c10
cmp dword [ebp - 0x12c], 0x10
mov byte [ebp - 4], 0x27
jb 0x2d8325ec
cmp dword [ebp - 0x140], 0
je 0x2d8325ec
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x140]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
call esi
jmp 0x2d8325eb
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.2d817c10
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.2d836195
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.2d817c10
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.2d8062b5
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.2d806400
cmp dword [ebp - 0x15c], 0x10
mov byte [ebp - 4], 0x1e
jb 0x2d832527
cmp dword [ebp - 0x170], 0
je 0x2d832527
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x170]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
mov eax, dword [ebp - 0x114]
mov esi, 0x1000
cmp eax, 0x10
jb 0x2d83257c
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 0x2d832573
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.2d817c10
mov eax, dword [ebp - 0x1a4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a8]
push eax
push ecx
call fcn.2d817c10
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 0x2d8325f0
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 0x2d8325e3
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.2d817c10
mov eax, dword [ebp - 0x1a8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a4]
push eax
push ecx
call fcn.2d817c10
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.2d817c10
pop ecx
pop ecx
test eax, eax
jne 0x2d83262b
inc eax
jmp 0x2d832709
cmp dword [ebp - 0x1b0], 0
jne 0x2d83263c
xor eax, eax
inc eax
jmp 0x2d83270c
mov eax, dword [0x2d96a910]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x2d8fb384]
call esi
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x2d832662
mov eax, ebx
jmp 0x2d83270f
mov edi, dword [0x2d96a910]
push dword [ebp - 0x1b8]
mov esi, dword [edi + 0x94]
mov ecx, esi
call dword [0x2d8fb384]
call esi
mov esi, dword [edi + 0x11c]
pop ecx
push eax
push 0x2d8ff108
push dword [ebp - 0x1a4]
mov ecx, esi
call dword [0x2d8fb384]
call esi
mov eax, dword [0x2d96a910]
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 [0x2d8fb384]
call esi
add esp, 0xc
xor eax, eax
inc eax
push edi
push eax
mov eax, dword [0x2d96a644]
push dword [ebp - 0x1b0]
mov esi, dword [eax + 0x958]
mov ecx, esi
call dword [0x2d8fb384]
call esi
movzx edi, ax
add esp, 0xc
mov eax, dword [0x2d96a910]
push dword [ebp - 0x1a4]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
jmp 0x2d832712
mov eax, ebx
movzx eax, ax
movzx eax, ax
movzx edi, ax
cmp dword [ebp - 0x174], 0x10
mov byte [ebp - 4], 0x31
jb 0x2d832741
cmp dword [ebp - 0x188], 0
je 0x2d832741
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x188]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], bl
jmp 0x2d83275d
xor ebx, ebx
mov edi, ebx
lea ecx, [ebp - 0x1c0]
call fcn.2d817c10
lea ecx, [ebp - 0x1ac]
call fcn.2d81843a
cmp dword [ebp - 0x18c], 0x10
mov byte [ebp - 4], 0x32
jb 0x2d8327a2
cmp dword [ebp - 0x1a0], 0
je 0x2d8327a2
mov eax, dword [0x2d96a8d4]
push dword [ebp - 0x1a0]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], bl
jmp 0x2d832815
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
push 0x2d900dcc
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.2d817c10
pop ecx
pop ecx
test eax, eax
je 0x2d832804
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
push 0x2d900dd4
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.2d817c10
pop ecx
pop ecx
test eax, eax
jne 0x2d832809
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 0x2d832848
cmp dword [ebp - 0x158], 0
je 0x2d832848
mov ecx, dword [0x2d96a8d4]
push dword [ebp - 0x158]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x2d8fb384]
call esi
pop ecx
mov ax, di
jmp 0x2d83284f
xor eax, eax
call fcn.2d807648
ret