Function at 0x43fcc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5dd1
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x115], 0
call fcn.00405870
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
add eax, 0x12
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push section..data_1
mov edx, dword [ebp - 0x12c]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCR120.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
jne 0x43fd6a
mov dword [ebp - 0x134], 0
jmp 0x43fde3
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
add eax, 1
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x3fffffff
jle 0x43fd9b
mov dword [ebp - 0x138], 0
jmp 0x43fdd7
mov eax, dword [ebp - 0x128]
shl eax, 1
call fcn.004dfa20
mov dword [ebp - 0x13c], esp
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x128]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00405740
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
lea edx, [ebp - 0x114]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x130]
push eax
call sub.MSVCR120.dll_strlen
add esp, 4
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00489a20
mov byte [ebp - 0x115], al
movzx edx, byte [ebp - 0x115]
test edx, edx
je 0x43ff6c
mov byte [ebp - 0x115], 0
lea ecx, [ebp - 0x15c]
call fcn.004142b0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea ecx, [ebp - 0x15c]
call fcn.00414860
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp + 8]
push edx
call fcn.0043f250
movzx eax, al
test eax, eax
jne 0x43fe99
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043f300
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x150], 0xc
mov dword [ebp - 0x148], 0
lea edx, [ebp - 0x150]
push edx
call fcn.0043f470
movzx eax, al
test eax, eax
je 0x43fed6
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x120], ecx
push 0
push 0x22
push 2
mov edx, dword [ebp - 0x120]
push edx
push 0
push 0x40000000
lea ecx, [ebp - 0x15c]
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
je 0x43ff4e
push 0
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43ff41
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x144]
jne 0x43ff41
mov byte [ebp - 0x115], 1
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.0043f4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.004142e0
mov al, byte [ebp - 0x115]
lea esp, [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 0x10