Function at 0x4192c2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x48d84c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xc], 0xffffffff
je 0x419515
mov eax, dword [ebp + 0xc]
add eax, 0x2c
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
xor esi, esi
sub eax, esi
mov dword [ebp - 0xc], esi
je 0x419453
dec eax
je 0x4193f9
dec eax
jne 0x419515
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push esi
push 0xfde9
call ebx
push eax
mov dword [ebp - 0x10], eax
call fcn.0041f5c9
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x41936c
push esi
push esi
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push dword [ebp + 8]
push esi
push 0xfde9
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x14]
call fcn.0041f057
pop ecx
push esi
lea eax, [ebp - 0xc]
push eax
push 1
push 0x47bf6c
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push esi
push esi
push esi
push eax
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
push esi
push 0xfde9
call ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.0041f5c9
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x4193df
push esi
push esi
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push dword [ebp - 8]
push esi
push 0xfde9
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
call fcn.0041f057
pop ecx
push esi
lea eax, [ebp - 0xc]
push eax
push 2
push 0x47bf68
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x419515
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
add eax, eax
push eax
push dword [ebp + 8]
push dword [edi + 0xc]
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
push 2
push 0x47bf6c
push dword [edi + 0xc]
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [ebp - 8]
push dword [edi + 0xc]
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
push 4
push 0x47bf60
jmp 0x419510
cmp dword [ebp + 8], esi
je 0x419469
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41946e
mov dword [ebp - 0x10], esi
jmp 0x419489
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00421830
mov eax, esp
push 3
push ebx
push dword [ebp + 8]
push eax
call fcn.00418c42
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], esi
je 0x41949f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4194a4
mov dword [ebp - 8], esi
jmp 0x4194bf
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00421830
mov eax, esp
push 3
push ebx
push dword [ebp - 8]
push eax
call fcn.00418c42
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push dword [ebp - 0x10]
push dword [edi + 0xc]
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
push 1
push 0x47bf6c
push dword [edi + 0xc]
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp - 8]
push dword [edi + 0xc]
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
push 2
push 0x47bf68
push dword [edi + 0xc]
call ebx
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ef3e
leave
ret 8