Function at 0x103f918
Capabilities:
Get hostname
Get session user name
Write file on windows

Disassembly:
push 0x10c
mov eax, 0x10ce29f
call fcn.010b534f
mov esi, ecx
mov dword [ebp - 0x70], esi
push dword [ebp + 0x10]
lea ecx, [esi + 4]
mov dword [esi], 0x100d05c
call fcn.01084cc3
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
or dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x14], 0x10024b4
push dword [ebp + 8]
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp + 0x10], ecx
call fcn.0103376e
lea ecx, [esi + 0x3c]
mov byte [esi + 0x38], bl
call fcn.01033230
xor edi, edi
xor eax, eax
inc edi
mov word [esi + 0x58], ax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x1268], 1
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 5
jb 0x103f99b
mov eax, dword [eax + 4]
jmp 0x103f99e
add eax, 4
push ebx
push 0x80
push 2
push ebx
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [esi + 0x14]
call fcn.0103d78a
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
jne 0x103fa6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 0xe
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.01033bfc
push esi
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 6
call fcn.0103e9b9
push eax
lea eax, [ebp - 0x28]
push 0x100268c
push eax
mov byte [ebp - 4], 7
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.01033bb7
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.01032f16
push dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
push 0x100cb90
push eax
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.01033bb7
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.01032f16
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x20]
call fcn.010907af
push 0x10de07c
lea eax, [ebp - 0x20]
push eax
call fcn.010b4e4c
push ebx
lea ecx, [ebp + 8]
push ecx
push 2
lea ecx, [ebp - 0x30]
push ecx
push eax
mov dword [ebp - 0x30], 0xfeff
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x103fb25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 7
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.01033bfc
push 0x100d028
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.01033c5d
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.0103e9b9
push eax
lea eax, [ebp - 0x6c]
push 0x1002a94
push eax
mov byte [ebp - 4], 0xb
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.01033bb7
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.01032f16
push dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
push 0x100cb90
push eax
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.01033bb7
mov byte [ebp - 4], 0xa
jmp 0x103fa4a
cmp byte [ebp + 0xc], bl
je 0x103fb72
push 0x30
call fcn.010b2945
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x103fb46
mov ecx, eax
call fcn.01033ca5
jmp 0x103fb48
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0109c558
push eax
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0xf
call fcn.01058439
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 5
cmp ecx, ebx
je 0x103fb72
call fcn.0103d6e8
lea eax, [esi + 0x68]
push eax
call fcn.0103eb7d
lea eax, [esi + 0x168]
push eax
call fcn.0103eb98
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [esi + 0x268]
push eax
push 7
mov dword [ebp - 0x2c], 0x400
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea ecx, [ebp - 0x2c]
lea eax, [esi + 0xa68]
push ecx
push eax
mov dword [ebp - 0x2c], 0x400
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x1f4
call fcn.010b2945
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x103fbda
mov ecx, eax
call fcn.0103b6e6
jmp 0x103fbdc
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0103ecb4
push eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call fcn.01058439
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 5
cmp ecx, ebx
je 0x103fc06
call fcn.0103d6e8
push 0x100cfa8
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x100cf28
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x100ceb0
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x10015b4
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
mov eax, dword [esi + 0x60]
lea ecx, [eax + 0x1d0]
cmp dword [ecx + 0x18], 8
jb 0x103fcc2
mov ecx, dword [ecx + 4]
jmp 0x103fcc5
add ecx, 4
cmp dword [eax + 0x60], 8
jb 0x103fcd0
mov eax, dword [eax + 0x4c]
jmp 0x103fcd3
add eax, 0x4c
push ecx
push eax
push 0x100ce78
push esi
call fcn.0103f3fe
mov eax, dword [esi + 0x60]
add eax, 0x9c
add esp, 0x10
cmp dword [eax + 0x18], 8
jb 0x103fcf6
mov eax, dword [eax + 4]
jmp 0x103fcf9
add eax, 4
push eax
push 0x100ce6c
push esi
call fcn.0103f3fe
mov eax, dword [esi + 0x60]
add eax, 0xd4
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x103fd1b
mov eax, dword [eax + 4]
jmp 0x103fd1e
add eax, 4
push eax
push 0x100ce6c
push esi
call fcn.0103f3fe
add esp, 0xc
push 0x100cdc8
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x100cdb0
lea ecx, [ebp - 0xa8]
call fcn.01033a48
lea ecx, [esi + 0x68]
push ecx
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x17
call fcn.010377ae
push 0x100c51c
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0x18
call fcn.010377ae
lea ecx, [esi + 0x168]
push ecx
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x19
call fcn.010377ae
push 0x100cda4
push eax
lea eax, [ebp - 0x118]
push eax
mov byte [ebp - 4], 0x1a
call fcn.010377ae
lea ecx, [esi + 0x268]
push ecx
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x1b
call fcn.010377ae
push 0x1002650
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x1c
call fcn.010377ae
add esp, 0x48
lea ecx, [esi + 0xa68]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x1d
call fcn.010377ae
push 0x100cb34
push eax
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x6c]
push eax
call fcn.010377ae
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1f
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0x50]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0xfc]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0x118]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0xe0]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0x8c]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0xc4]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x100cd8c
lea ecx, [ebp - 0x8c]
call fcn.01033a48
push dword [ebp + 0x10]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.010377fa
push 0x100cb34
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x21
call fcn.010377ae
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0x22
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0xa8]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0xc4]
call fcn.01032f16
push ebx
push edi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x100ccf8
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x23
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x10015b4
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x24
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x100cc78
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x25
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x10015b4
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x26
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
mov eax, dword [esi + 0x60]
cmp dword [eax + 0x13c], ebx
je 0x1040008
add eax, 0x128
cmp dword [eax + 0x18], 8
jb 0x103ffcc
mov eax, dword [eax + 4]
jmp 0x103ffcf
add eax, 4
push eax
push 0x100cc44
push esi
call fcn.0103f3fe
add esp, 0xc
push 0x10015b4
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x27
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
mov eax, dword [esi + 0x60]
cmp dword [eax + 0x158], ebx
je 0x104005f
add eax, 0x144
cmp dword [eax + 0x18], 8
jb 0x1040023
mov eax, dword [eax + 4]
jmp 0x1040026
add eax, 4
push eax
push 0x100cc14
push esi
call fcn.0103f3fe
add esp, 0xc
push 0x10015b4
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x28
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
push 0x10015b4
lea ecx, [ebp - 0x28]
call fcn.01033a48
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x29
call fcn.0103f0e2
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.01032f16
mov ecx, esi
call fcn.0103ed09
mov eax, esi
call fcn.010b543b
ret 0xc