Function at 0x10825b5
Capabilities:
Get hostname
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov si, word [ebx + 0x24]
push edi
push dword [ebp + 8]
call fcn.01081c89
cmp si, ax
je 0x10825e8
xor eax, eax
inc eax
cmp si, ax
jne 0x10825df
mov dword [ebp - 8], eax
jmp 0x10825f9
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
jmp 0x10825fd
xor eax, eax
inc eax
cmp si, ax
jne 0x10825f5
mov dword [ebp - 8], eax
jmp 0x10825e3
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov eax, dword [ebx]
mov byte [eax], 1
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x30]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x98]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx]
mov dword [eax + 0x24], ecx
mov cl, byte [ebx + 4]
mov eax, dword [ebx]
mov byte [eax + 0x28], cl
mov cx, word [ebx + 0x10]
mov eax, dword [ebx]
mov word [eax + 8], cx
mov cl, byte [ebx + 5]
mov eax, dword [ebx]
mov byte [eax + 0x29], cl
mov cx, word [ebx + 0x26]
mov eax, dword [ebx]
mov word [eax + 0x12], cx
mov cx, word [ebx + 0x2e]
mov eax, dword [ebx]
mov word [eax + 0xa], cx
mov eax, dword [ebx]
mov cx, word [ebx + 0x24]
mov word [eax + 0x14], cx
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebx + 0x34]
mov dword [eax + 0x34], ecx
mov cx, word [ebx + 0x38]
mov word [eax + 0x38], cx
mov cx, word [ebx + 0x42]
and dword [eax + 0x50], 0
mov word [eax + 0x3a], cx
mov cx, word [ebx + 0x52]
mov word [eax + 0x54], cx
mov cx, word [ebx + 0x54]
mov word [eax + 0x56], cx
mov cx, word [ebx + 0x56]
mov word [eax + 0x58], cx
mov cx, word [ebx + 0x58]
mov word [eax + 0x5a], cx
mov cl, byte [ebx + 4]
mov byte [eax + 0x5c], cl
mov cl, byte [ebx + 5]
mov byte [eax + 0x5d], cl
mov esi, dword [ebx + 0xb0]
lea edi, [eax + 0x5e]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov cx, word [ebx + 0x7a]
mov word [eax + 0x6e], cx
mov cx, word [ebx + 0x7c]
mov word [eax + 0x70], cx
mov ecx, dword [ebx + 0x9c]
mov dword [eax + 0x3c], ecx
mov cx, word [ebx + 0xa0]
mov word [eax + 0x40], cx
mov cx, word [ebx + 0xa8]
mov word [eax + 0x48], cx
mov cx, word [ebx + 0xaa]
mov word [eax + 0x4a], cx
cmp word [eax + 0x4a], 0
mov cl, byte [ebx + 0xac]
mov byte [eax + 0x4c], cl
mov cx, word [ebx + 0xba]
mov dword [ebp - 0xc], eax
mov word [eax + 0x9e], cx
je 0x1082734
mov cx, word [ebx + 0xa4]
mov word [eax + 0x44], cx
mov cx, word [ebx + 0xa2]
mov word [eax + 0x42], cx
mov cx, word [ebx + 0xa6]
mov word [eax + 0x46], cx
push dword [ebp - 4]
mov word [eax + 0x72], 0xa8
push dword [ebp - 8]
mov edx, dword [ebx + 0x3c]
lea esi, [eax + 0x74]
add eax, 0xa8
push eax
mov ax, word [ebx + 0x40]
mov ebx, esi
call fcn.010824e7
mov ax, word [esi]
mov esi, dword [ebp - 0xc]
add ax, word [esi + 0x72]
push dword [ebp - 4]
mov edi, dword [ebp + 0xc]
push dword [ebp - 8]
mov word [esi + 0x76], ax
mov edx, dword [edi + 0x44]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0x48]
lea ebx, [esi + 0x78]
call fcn.010824e7
mov ax, word [ebx]
add ax, word [esi + 0x76]
push dword [ebp - 4]
mov word [esi + 0x7a], ax
push dword [ebp - 8]
mov edx, dword [edi + 0x4c]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0x50]
lea ebx, [esi + 0x7c]
call fcn.010824e7
mov ax, word [ebx]
add ax, word [esi + 0x7a]
push dword [ebp - 4]
mov word [esi + 0x7e], ax
push dword [ebp - 8]
mov edx, dword [edi + 0x74]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0x78]
lea ebx, [esi + 0x80]
call fcn.010824e7
mov ax, word [ebx]
add ax, word [esi + 0x7e]
lea ecx, [edi + 0x8c]
mov word [esi + 0x82], ax
mov dx, word [ecx]
mov word [esi + 0x84], dx
movzx ecx, word [ecx]
mov esi, dword [edi + 0x88]
mov edx, ecx
shr ecx, 2
movzx edi, ax
mov eax, dword [ebp - 0xc]
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov di, word [eax + 0x82]
add di, word [eax + 0x84]
lea ecx, [edx + 0x84]
mov word [eax + 0x86], di
mov si, word [ecx]
mov word [eax + 0x88], si
movzx ecx, word [ecx]
mov esi, dword [edx + 0x80]
movzx edi, di
mov ebx, ecx
shr ecx, 2
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 0x86]
add cx, word [eax + 0x88]
xor ebx, ebx
mov bl, cl
and ebx, 1
add ecx, ebx
mov word [eax + 0x8a], cx
movzx ecx, cx
add ecx, eax
lea ebx, [eax + 0x8c]
mov ax, word [edx + 0x60]
mov edx, dword [edx + 0x5c]
push ecx
call fcn.010824e7
test ax, ax
jne 0x10828cf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov esi, dword [ebp - 0xc]
push dword [ebp - 4]
movzx ecx, word [esi + 0x8a]
push dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add ecx, esi
lea eax, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x30]
call fcn.010824e7
jmp 0x10828d2
mov esi, dword [ebp - 0xc]
mov ax, word [esi + 0x8a]
add ax, word [ebx]
push dword [ebp - 4]
mov edi, dword [ebp + 0xc]
push dword [ebp - 8]
mov word [esi + 0x8e], ax
mov edx, dword [edi + 0x64]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0x68]
lea ebx, [esi + 0x90]
call fcn.010824e7
test ax, ax
jne 0x1082926
push dword [ebp - 4]
movzx eax, word [esi + 0x8e]
add eax, esi
push 1
push eax
mov ax, 4
mov edx, 0x10108b4
call fcn.010824e7
mov ax, word [ebx]
add ax, word [esi + 0x8e]
push dword [ebp - 4]
mov word [esi + 0x92], ax
push dword [ebp - 8]
mov edx, dword [edi + 0x6c]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0x70]
lea ebx, [esi + 0x94]
call fcn.010824e7
test ax, ax
jne 0x1082999
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x1082999
movzx ecx, byte [eax + 0x30]
movzx edx, word [esi + 0x92]
imul ecx, ecx, 0x14c
add edx, esi
push edx
push eax
call dword [ecx + 0x10d7454]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx ecx, byte [eax + 0x30]
imul ecx, ecx, 0x14c
push eax
call dword [ecx + 0x10d7458]
mov word [ebx], ax
mov ax, word [ebx]
add ax, word [esi + 0x92]
push dword [ebp - 4]
mov word [esi + 0x96], ax
push dword [ebp - 8]
mov edx, dword [edi + 0xb4]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0xb8]
lea ebx, [esi + 0x98]
call fcn.010824e7
test ax, ax
jne 0x1082a10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x1082a10
movzx ecx, byte [eax + 0x30]
movzx edx, word [esi + 0x96]
imul ecx, ecx, 0x14c
add edx, esi
push edx
push eax
call dword [ecx + 0x10d7574]
movzx eax, word [esi + 0x96]
add eax, esi
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
pop ecx
mov word [ebx], ax
mov ax, word [ebx]
add ax, word [esi + 0x96]
mov word [esi + 0x9a], ax
call fcn.0107d30a
test eax, eax
je 0x1082a3d
call fcn.0107d304
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
jmp 0x1082a44
movzx eax, word [edi + 0x94]
mov dword [ebp + 0xc], eax
call fcn.0107d30a
test eax, eax
je 0x1082a59
call fcn.0107d304
mov edx, eax
jmp 0x1082a5f
mov edx, dword [edi + 0x90]
push dword [ebp - 4]
movzx eax, word [esi + 0x9a]
push dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [ebp + 0xc]
lea ebx, [esi + 0x9c]
call fcn.010824e7
lea eax, [esi + 0xa4]
and dword [eax], 0
cmp byte [edi + 4], 0xe
jne 0x1082aae
cmp word [edi + 0x2c], 4
jb 0x1082a9a
mov ecx, dword [edi + 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
cmp word [edi + 0x2c], 8
jb 0x1082aae
mov eax, dword [edi + 0x28]
test byte [eax + 4], 1
je 0x1082aae
or byte [esi + 0x33], 8
pop edi
pop esi
mov ax, 1
pop ebx
leave
ret 8