Function at 0x41baae
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x140d0]
mov eax, 0x14150
call fcn.0042e6d0
mov eax, dword [0x46a470]
xor eax, ebp
mov dword [ebp + 0x140cc], eax
mov eax, dword [ebp + 0x140dc]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x48], eax
lea eax, [esi + 0xc]
push 0x45e9a0
push eax
call fcn.0042ac8a
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x41bad1
xor al, al
jmp 0x41be6e
push edi
push 0x103
lea eax, [ebp + 0x13fc9]
push 0
push eax
mov byte [ebp + 0x13fc8], 0
call fcn.00429d40
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push str.Rav.tst
lea eax, [ebp + 0x13fc8]
push eax
call edi
lea eax, [esi + 0x138]
cmp byte [eax], 0
je 0x41bb18
push eax
lea eax, [ebp + 0x13fc8]
push eax
call edi
xor edi, edi
lea eax, [ebp + 0x13fc8]
push edi
push eax
call fcn.00428940
pop ecx
mov ecx, dword [esi + 0x2c0]
lea eax, [eax + ecx + 0x1e]
push eax
push ebx
call fcn.0043099a
push 0x38
lea eax, [ebp - 0x80]
push edi
push eax
mov dword [ebp - 0x44], edi
call fcn.00429d40
push 0x38
push 0x45e990
push edi
push 8
push 0xfffffffffffffff1
push 8
lea eax, [ebp - 0x80]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x5c], 0x41ba7d
mov dword [ebp - 0x60], 0x41ba6c
call fcn.004558e0
mov dword [ebp - 0x3c], edi
add esp, 0x38
mov edi, 0xa000
mov eax, dword [ebp + 0x140e0]
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
jae 0x41bc42
sub eax, ecx
mov dword [ebp - 0x40], edi
cmp eax, edi
ja 0x41bb97
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
add eax, ecx
push eax
lea eax, [ebp + 0x9fc8]
push eax
call fcn.00429770
add esp, 0xc
cmp dword [ebp - 0x40], 0
je 0x41bc42
push dword [ebp - 0x40]
add dword [ebp - 0x3c], edi
lea eax, [ebp + 0x9fc8]
push eax
push dword [ebp - 0x44]
call fcn.00456f80
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x9fc8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x40]
add esp, 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], edi
test eax, eax
jbe 0x41bc22
cmp dword [ebp - 0x70], 0
jne 0x41bc0f
push ebx
push 1
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00430820
lea eax, [ebp - 0x38]
add esp, 0x10
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00455d30
cmp dword [ebp - 0x7c], 0
pop ecx
pop ecx
ja 0x41bbf0
mov eax, edi
sub eax, dword [ebp - 0x70]
je 0x41bb7a
push ebx
push 1
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00430820
add esp, 0x10
jmp 0x41bb7a
lea eax, [ebp - 0x38]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edi
cmp dword [ebp - 0x70], 0
jne 0x41bc6a
push ebx
push 1
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00430820
lea eax, [ebp - 0x38]
add esp, 0x10
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
push 4
push eax
call fcn.00455d30
pop ecx
pop ecx
test eax, eax
je 0x41bc4b
sub edi, dword [ebp - 0x70]
je 0x41bc90
push ebx
push 1
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00430820
add esp, 0x10
push ebx
call fcn.00431369
push 0x1e
lea edi, [esi + 0x264]
push 0
push edi
mov dword [ebp - 0x3c], eax
call fcn.00429d40
xor eax, eax
mov word [esi + 0x26a], ax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x272], eax
mov eax, dword [ebp - 0x78]
mov dword [esi + 0x27a], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x276], eax
lea eax, [ebp + 0x13fc8]
push eax
mov dword [edi], 0x4034b50
call fcn.00428940
push 8
mov word [esi + 0x27e], ax
pop eax
push 0x14
mov word [esi + 0x26c], ax
pop eax
push 0
push dword [esi + 0x2c0]
mov word [esi + 0x268], ax
push ebx
call fcn.0043099a
push ebx
push 1
push 0x1e
push edi
call fcn.00430820
add esp, 0x30
push ebx
lea eax, [ebp + 0x13fc8]
push 1
push eax
call fcn.00428940
pop ecx
push eax
lea eax, [esi + 0x138]
push eax
call fcn.00430820
push 0
push dword [ebp - 0x3c]
push ebx
call fcn.0043099a
push ebx
push 1
push dword [esi + 0x2bc]
lea edi, [esi + 0x2d4]
push dword [edi]
call fcn.00430820
push dword [edi]
call fcn.0042892c
and dword [edi], 0
push 0x2e
lea edi, [esi + 0x282]
push 0
push edi
call fcn.00429d40
push 0x14
pop eax
mov word [esi + 0x286], ax
mov word [esi + 0x288], ax
mov ax, word [esi + 0x26c]
mov word [esi + 0x28c], ax
mov eax, dword [esi + 0x272]
mov dword [esi + 0x292], eax
mov eax, dword [esi + 0x276]
mov dword [esi + 0x296], eax
mov eax, dword [esi + 0x27a]
mov dword [esi + 0x29a], eax
lea eax, [ebp + 0x13fc8]
push eax
mov dword [edi], 0x2014b50
call fcn.00428940
add esp, 0x40
push ebx
push 1
mov word [esi + 0x29e], ax
mov eax, dword [esi + 0x2c0]
push 0x2e
push edi
mov dword [esi + 0x2ac], eax
call fcn.00430820
add esp, 0x10
push ebx
lea eax, [ebp + 0x13fc8]
push 1
push eax
call fcn.00428940
pop ecx
push eax
lea eax, [ebp + 0x13fc8]
push eax
call fcn.00430820
mov eax, dword [ebp - 0x3c]
inc word [esi + 0x2b8]
inc word [esi + 0x2ba]
add dword [esi + 0x2bc], 0x2e
mov dword [esi + 0x2c0], eax
lea eax, [ebp + 0x13fc8]
push eax
call fcn.00428940
add dword [esi + 0x2bc], eax
push ebx
xor eax, eax
push 1
mov word [esi + 0x2c4], ax
lea eax, [esi + 0x2b0]
push 0x16
push eax
call fcn.00430820
lea eax, [ebp - 0x80]
push eax
call fcn.00456090
push ebx
call fcn.0042a9b7
add esp, 0x2c
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.0041b9c6
mov al, 1
pop edi
mov ecx, dword [ebp + 0x140cc]
pop esi
xor ecx, ebp
pop ebx
call fcn.00429649
add ebp, 0x140d0
leave
ret 0xc