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

Disassembly:
mov al, byte [0x831468]
sub esp, 0x130
test al, al
je 0x43c147
mov eax, dword [0x8313e0]
test eax, eax
je 0x43c147
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 8]
lea eax, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x10], 0x101
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0
push 0
lea ecx, [esp + 8]
call fcn.004025a0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 8]
push str.Computer_name:__s_r_nUser_name:__s_r_n_r_n
push eax
call fcn.005dd5a0
add esp, 0x10
lea ecx, [esp]
push 0x84f65c
call fcn.00438280
mov eax, dword [0x8313e0]
test eax, eax
je 0x43c00f
add eax, 0x13c
lea ecx, [esp]
push eax
call fcn.00438280
push 0x7f7868
lea ecx, [esp + 4]
call fcn.0043c2e0
push str.Compact_tab_delimited_version:_r_n
lea ecx, [esp + 4]
call fcn.0043c2e0
push 0
push 0
lea ecx, [esp + 0xc]
call fcn.004025a0
push 0x84f6d0
lea ecx, [esp + 4]
call fcn.00438280
mov eax, dword [0x8313e0]
test eax, eax
je 0x43c05e
add eax, 0x140
lea ecx, [esp]
push eax
call fcn.00438280
lea ecx, [esp + 4]
push esi
push ecx
call fcn.0043baf0
add esp, 4
lea edx, [esp + 8]
lea ecx, [esp + 4]
push edx
call fcn.00438280
lea eax, [esp + 8]
push eax
call fcn.006da880
add esp, 4
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.00438280
push 0x7f7868
lea ecx, [esp + 8]
call fcn.0043c2e0
lea edx, [esp + 8]
push edx
call fcn.0043c360
add esp, 4
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
call fcn.00438280
push 0x7f7868
lea ecx, [esp + 8]
call fcn.0043c2e0
lea ecx, [esp + 8]
push ecx
call fcn.006da600
add esp, 4
lea edx, [esp + 8]
lea ecx, [esp + 4]
push edx
call fcn.00438280
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.sysinfo.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43c134
mov edx, dword [esp + 4]
push edi
lea eax, [esp + 0x20]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
lea ecx, [esp + 8]
call fcn.005dd410
lea ecx, [esp + 4]
call fcn.005dd410
pop esi
call fcn.0076f760
call fcn.0041f610
call fcn.0041bfe0
call fcn.00670170
call fcn.00457740
call fcn.004e26d0
call fcn.00415760
call fcn.0041d980
call fcn.004717a0
call fcn.00456090
mov dword [0x856090], 0
call fcn.00436eb0
call fcn.006c5f60
call fcn.004b1240
mov ecx, dword [0x830294]
test ecx, ecx
je 0x43c1a2
mov edx, dword [ecx]
push 1
call dword [edx]
call fcn.004b2000
call fcn.004e68b0
call fcn.0076b120
call fcn.00408e50
push str.Controls
push 0
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
push eax
call fcn.00675880
add esp, 0x10
call fcn.006757c0
call fcn.0069d8f0
call fcn.00529ab0
mov ecx, dword [0x830720]
test ecx, ecx
je 0x43c1ef
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x830720], 0
call fcn.004600d0
mov ecx, dword [0x855444]
push 0
call fcn.00627ea0
call fcn.0062e870
call fcn.005f5130
call fcn.00527cd0
call fcn.00529820
call fcn.0062e650
push str.Debug
push 0
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
push eax
call fcn.00671ff0
add esp, 0x10
call fcn.00671ea0
call sub.WSOCK32.dll_WSACleanup
cmp eax, 0xffffffff
jne 0x43c25f
push 0x1ab
push str.C:RenegadeCodeCommando_shutdown.cpp
call fcn.0061ed30
add esp, 8
mov ecx, dword [0x85db70]
test ecx, ecx
je 0x43c298
push 0x81ed60
call fcn.006ec460
mov ecx, dword [0x85db70]
test ecx, ecx
je 0x43c298
call fcn.006ec5a0
test eax, eax
je 0x43c298
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, dword [0x85db70]
test ecx, ecx
jne 0x43c27d
push 1
push str.Debug
push 0
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.005dbcb0
mov al, byte [esp + 0x10]
test al, al
je 0x43c2d0
push 0
push str.ApplicationCrashVersion
lea ecx, [esp + 0x14]
call fcn.005dbdb0
lea ecx, [esp + 0xc]
call fcn.005dbd30
add esp, 0x130
ret