Function at 0x48260d
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x500144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ecx, ecx
mov eax, dword [ebp + 0x10]
push edi
mov word [ebp - 0x200], cx
xor ebx, ebx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x208]
push ecx
lea ecx, [ebp - 0x203]
mov dword [ebp - 0x20c], eax
push ecx
lea ecx, [ebp - 0x204]
mov byte [ebp - 0x201], bl
push ecx
lea ecx, [ebp - 0x202]
mov byte [ebp - 0x1fa], bl
push ecx
lea ecx, [ebp - 0x200]
mov byte [ebp - 0x1f9], bl
push ecx
lea ecx, [ebp - 0x1f9]
mov byte [ebp - 0x202], bl
push ecx
lea ecx, [ebp - 0x1fa]
mov byte [ebp - 0x204], bl
push ecx
lea ecx, [ebp - 0x201]
mov byte [ebp - 0x203], bl
push ecx
push dword [ebp + 0x14]
mov dword [ebp - 0x208], 1
push eax
call fcn.00482934
movzx ecx, byte [ebp - 0x201]
mov eax, ecx
sub eax, 0x14
je 0x482834
sub eax, 1
je 0x4827da
sub eax, 1
je 0x482796
sub eax, 1
je 0x48275e
sub eax, 1
mov eax, 0x412b98
je 0x48272b
cmp dword [ebp - 0x208], ebx
jne 0x4826ef
mov eax, 0x412b9c
push eax
movzx eax, word [ebp - 0x200]
mov esi, 0x1f4
push eax
movzx eax, byte [ebp - 0x1f9]
push ecx
push eax
movzx eax, byte [ebp - 0x1fa]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1f8]
push 0x412d90
push esi
push eax
call fcn.0044f98c
add esp, 0x24
jmp 0x48287c
cmp dword [ebp - 0x208], ebx
jne 0x482738
mov eax, 0x412b9c
push eax
movzx eax, word [ebp - 0x200]
push eax
movzx eax, byte [ebp - 0x1f9]
push eax
movzx eax, byte [ebp - 0x1fa]
push eax
push dword [ebp + 0xc]
push 0x412d38
jmp 0x482867
mov eax, 0x412b98
cmp dword [ebp - 0x208], ebx
jne 0x482770
mov eax, 0x412b9c
push eax
movzx eax, word [ebp - 0x200]
push eax
movzx eax, byte [ebp - 0x1f9]
push eax
movzx eax, byte [ebp - 0x1fa]
push eax
push dword [ebp + 0xc]
push 0x412c10
jmp 0x482867
mov eax, 0x412b98
cmp dword [ebp - 0x208], ebx
jne 0x4827a8
mov eax, 0x412b9c
movzx ecx, byte [ebp - 0x202]
push eax
push ecx
call fcn.004829f6
push eax
movzx eax, word [ebp - 0x200]
push ecx
push eax
movzx eax, byte [ebp - 0x1f9]
push eax
movzx eax, byte [ebp - 0x1fa]
push eax
push dword [ebp + 0xc]
push 0x412cc0
jmp 0x48281d
mov eax, 0x412b98
cmp dword [ebp - 0x208], ebx
jne 0x4827ec
mov eax, 0x412b9c
push eax
movzx eax, byte [ebp - 0x203]
push eax
movzx eax, byte [ebp - 0x204]
push eax
movzx eax, word [ebp - 0x200]
push eax
movzx eax, byte [ebp - 0x1f9]
push eax
movzx eax, byte [ebp - 0x1fa]
push eax
push dword [ebp + 0xc]
push 0x412ba0
mov esi, 0x1f4
lea eax, [ebp - 0x1f8]
push esi
push eax
call fcn.0044f98c
add esp, 0x28
jmp 0x48287c
mov eax, 0x412b98
cmp dword [ebp - 0x208], ebx
jne 0x482846
mov eax, 0x412b9c
push eax
movzx eax, word [ebp - 0x200]
push eax
movzx eax, byte [ebp - 0x1f9]
push eax
movzx eax, byte [ebp - 0x1fa]
push eax
push dword [ebp + 0xc]
push 0x412c68
mov esi, 0x1f4
lea eax, [ebp - 0x1f8]
push esi
push eax
call fcn.0044f98c
add esp, 0x20
mov ecx, esi
lea eax, [ebp - 0x1f8]
cmp byte [eax], bl
je 0x48288e
inc eax
sub ecx, 1
jne 0x482884
mov eax, ecx
sub esi, ecx
neg eax
push ebx
sbb eax, eax
and eax, esi
neg ecx
push ebx
sbb ecx, ecx
and eax, ecx
inc eax
push eax
lea eax, [ebp - 0x1f8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp + 0x14], ebx
jbe 0x48290b
mov esi, dword [ebp - 0x20c]
test ebx, ebx
je 0x4828d6
test bl, 0x3f
jne 0x4828d6
push 0
push 0
push 3
push 0x412de4
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, byte [esi + ebx]
push eax
push 0x412de8
lea eax, [ebp - 0x200]
push 3
push eax
call fcn.0044f98c
add esp, 0x10
lea eax, [ebp - 0x200]
push 0
push 0
push 3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc ebx
cmp ebx, dword [ebp + 0x14]
jb 0x4828bb
push 0
push 0
push 5
push 0x412df0
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb5e0
leave
ret 0x10