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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10de03c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov si, word [ebx + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ebx
call fcn.0108c3d5
cmp si, ax
je 0x108cdb6
xor eax, eax
inc eax
cmp si, ax
jne 0x108cdad
mov dword [ebp - 0x2c], eax
jmp 0x108cdc7
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
jmp 0x108cdcb
xor eax, eax
inc eax
cmp si, ax
jne 0x108cdc3
mov dword [ebp - 0x2c], eax
jmp 0x108cdb1
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 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 - 0x34], eax
mov word [eax + 0x9e], cx
je 0x108cf02
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 - 0x28]
mov word [eax + 0x72], 0xa8
push dword [ebp - 0x2c]
mov edx, dword [ebx + 0x3c]
lea esi, [eax + 0x74]
add eax, 0xa8
push eax
mov ax, word [ebx + 0x40]
mov ebx, esi
call fcn.0108cc9d
mov ax, word [esi]
mov esi, dword [ebp - 0x34]
add ax, word [esi + 0x72]
push dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
push dword [ebp - 0x2c]
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.0108cc9d
mov ax, word [ebx]
add ax, word [esi + 0x76]
push dword [ebp - 0x28]
mov word [esi + 0x7a], ax
push dword [ebp - 0x2c]
mov edx, dword [edi + 0x4c]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0x50]
lea ebx, [esi + 0x7c]
call fcn.0108cc9d
mov ax, word [ebx]
add ax, word [esi + 0x7a]
push dword [ebp - 0x28]
mov word [esi + 0x7e], ax
push dword [ebp - 0x2c]
mov edx, dword [edi + 0x74]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0x78]
lea ebx, [esi + 0x80]
call fcn.0108cc9d
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 - 0x34]
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x38]
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 - 0x28]
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0x2c]
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.0108cc9d
test ax, ax
jne 0x108d09d
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x30], reloc.KERNEL32.dll_LoadLibraryW
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov esi, dword [ebp - 0x34]
push dword [ebp - 0x28]
movzx ecx, word [esi + 0x8a]
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
add ecx, esi
lea eax, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x24]
call fcn.0108cc9d
jmp 0x108d0a0
mov esi, dword [ebp - 0x34]
mov ax, word [esi + 0x8a]
add ax, word [ebx]
push dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
push dword [ebp - 0x2c]
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.0108cc9d
test ax, ax
jne 0x108d0f4
push dword [ebp - 0x28]
movzx eax, word [esi + 0x8e]
add eax, esi
push 1
push eax
mov ax, 4
mov edx, 0x1010918
call fcn.0108cc9d
mov ax, word [ebx]
add ax, word [esi + 0x8e]
push dword [ebp - 0x28]
mov word [esi + 0x92], ax
push dword [ebp - 0x2c]
mov edx, dword [edi + 0x6c]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0x70]
lea ebx, [esi + 0x94]
call fcn.0108cc9d
test ax, ax
jne 0x108d169
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 4], 0
je 0x108d169
mov eax, dword [eax + 4]
movzx ecx, byte [eax + 0x30]
movzx edx, word [esi + 0x92]
imul ecx, ecx, 0x14c
add edx, esi
push edx
push eax
call dword [ecx + 0x10e6c9c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
movzx ecx, byte [eax + 0x30]
imul ecx, ecx, 0x14c
push eax
call dword [ecx + 0x10e6ca0]
mov word [ebx], ax
mov ax, word [ebx]
add ax, word [esi + 0x92]
push dword [ebp - 0x28]
mov word [esi + 0x96], ax
push dword [ebp - 0x2c]
mov edx, dword [edi + 0xb4]
movzx eax, ax
add eax, esi
push eax
mov ax, word [edi + 0xb8]
lea ebx, [esi + 0x98]
call fcn.0108cc9d
test ax, ax
jne 0x108d1e2
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 4], 0
je 0x108d1e2
mov eax, dword [eax + 4]
movzx ecx, byte [eax + 0x30]
movzx edx, word [esi + 0x96]
imul ecx, ecx, 0x14c
add edx, esi
push edx
push eax
call dword [ecx + 0x10e6dbc]
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.01087245
test eax, eax
je 0x108d20f
call fcn.0108723a
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
jmp 0x108d216
movzx eax, word [edi + 0x94]
mov dword [ebp - 0x30], eax
call fcn.01087245
test eax, eax
je 0x108d22b
call fcn.0108723a
mov edx, eax
jmp 0x108d231
mov edx, dword [edi + 0x90]
push dword [ebp - 0x28]
movzx eax, word [esi + 0x9a]
push dword [ebp - 0x2c]
add eax, esi
push eax
mov eax, dword [ebp - 0x30]
lea ebx, [esi + 0x9c]
call fcn.0108cc9d
lea eax, [esi + 0xa4]
and dword [eax], 0
cmp byte [edi + 4], 0xe
jne 0x108d280
cmp word [edi + 0x2c], 4
jb 0x108d26c
mov ecx, dword [edi + 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
cmp word [edi + 0x2c], 8
jb 0x108d280
mov eax, dword [edi + 0x28]
test byte [eax + 4], 1
je 0x108d280
or byte [esi + 0x33], 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov ax, 1
pop ebx
call fcn.01075aef
leave
ret 8