Function at 0x4500f0
Capabilities:
Get common file path
Get hostname
Get session user name
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x758]
mov eax, 0x758
call fcn.00468d20
push 0xffffffffffffffff
push 0x4da2e0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x80
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, ebp
mov dword [ebp + 0x754], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0xfe
xor ebx, ebx
lea ecx, [ebp + 0x546]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0x544], ax
call fcn.00468ca0
push 0xfe
lea eax, [ebp + 0x446]
xor edx, edx
push ebx
push eax
mov word [ebp + 0x444], dx
call fcn.00468ca0
push 0xfe
lea edx, [ebp + 0x646]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x644], cx
call fcn.00468ca0
mov eax, 7
xor ecx, ecx
add esp, 0x24
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], cx
xor edx, edx
mov dword [ebp - 4], ebx
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x20], dx
lea eax, [ebp + 0x238]
push eax
push 0x104
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jne 0x4501e6
push str.Cant_get_temp_path_n
call fcn.0041a700
add esp, 4
push 0x5229e0
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], ebx
call fcn.00469e86
cmp eax, 0x104
jne 0x45020b
push str.Temp_path_too_long_n
call fcn.0041a700
add esp, 4
push 0x5229e0
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], ebx
call fcn.00469e86
lea eax, [ebp + 0x238]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x450214
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x238]
push eax
lea ecx, [ebp]
call fcn.0041c510
push str._sdajfhdfkj
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0042cd00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.0041c410
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54], esi
jb 0x450272
mov eax, dword [ebp - 0x68]
push eax
call fcn.004699ce
add esp, 4
mov eax, dword [ebp + 4]
cmp dword [ebp + 0x18], esi
jae 0x45027d
lea eax, [ebp + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4502ba
push str.Cant_open_temp_file_n
call fcn.0041a700
add esp, 4
push 0x5229e0
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], ebx
call fcn.00469e86
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x74]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
test eax, eax
jne 0x4502fc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Cant_get_time_n
call fcn.0041a700
add esp, 4
push 0x5229e0
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], ebx
call fcn.00469e86
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [ebp - 0x44]
movzx edx, word [ebp - 0x46]
movzx eax, word [ebp - 0x48]
push ecx
movzx ecx, word [ebp - 0x50]
push edx
movzx edx, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x4a]
push ecx
push edx
push eax
push str.____02d._02d._04d__02d:_02d:_02d
mov esi, 0x7f
lea ecx, [ebp + 0x544]
push esi
push ecx
call fcn.00469c7b
add esp, 0x24
lea edx, [ebp + 0x544]
push edx
lea ecx, [ebp + 0x1c]
call fcn.0041c900
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x444]
push ecx
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4503b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_retrieving_pcName:_0x_X_n
push 0x400
push 0x584090
call fcn.00469c7b
push 0x584090
call fcn.0041a5a0
add esp, 0x14
push 0x5229e0
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], ebx
call fcn.00469e86
lea eax, [ebp + 0x444]
push eax
lea ecx, [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0042cd00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.0041c410
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0041b5b0
push 0x4ee43c
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0042cd00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 5
call fcn.0041c410
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0041b5b0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0x644]
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x45046b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_retrieving_userName:_0x_X_n
push 0x400
push 0x584090
call fcn.00469c7b
push 0x584090
call fcn.0041a5a0
add esp, 0x14
push 0x5229e0
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], ebx
call fcn.00469e86
lea edx, [ebp + 0x644]
push edx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0042cd00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 6
call fcn.0041c410
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0041b5b0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4504aa
lea eax, [ebp + 0x20]
mov ecx, dword [ebp + 0x30]
push ebx
push ebx
push 0x200
lea edx, [ebp + 0x38]
push edx
push ecx
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x450506
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_converting_data:_0x_X_n
push 0x400
push 0x584090
call fcn.00469c7b
push 0x584090
call fcn.0041a5a0
add esp, 0x14
push 0x5229e0
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], ebx
call fcn.00469e86
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push str.TE3390.bin
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x450541
push str.Cant_create_TE3390.bin_n
call fcn.0041a700
add esp, 4
push 0x5229e0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ebx
call fcn.00469e86
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
lea esp, [esp]
cmp esi, dword [ebp - 0x18]
jae 0x450586
movzx ecx, byte [ebp + esi + 0x38]
push ecx
push 0x4e001c
lea edx, [ebp + 0x744]
push 0xf
push edx
call fcn.00469314
add esp, 0x10
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea ecx, [ebp + 0x744]
push ecx
push edi
call ebx
inc esi
jmp 0x450550
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5229e0
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 1
call fcn.00469e86
cmp dword [ebp - 0x80], 0
jne 0x4505bd
cmp dword [0x584064], 0
mov eax, 0x4efe70
jne 0x4505d0
mov eax, str.Cant_get_computer_ID
jmp 0x4505d0
cmp dword [0x584064], 0
mov eax, str.ID__.
jne 0x4505d0
mov eax, 0x4efde4
push 0x30
push 0x4e01e0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x4505e6
ret