Function at 0x41fcdf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446ba5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x485bd0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
call fcn.0041f95e
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041f9e2
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x41fd3b
lea eax, [ebp + 8]
push eax
call fcn.0041ffcd
pop ecx
jmp 0x41ffb2
mov ecx, dword [ebp - 0x6c]
call fcn.00420e0a
test eax, eax
je 0x41fd7d
mov ecx, dword [ebp - 0x6c]
call fcn.00420e0a
mov esi, eax
mov ecx, dword [ebp - 0x6c]
call fcn.00420e65
cmp esi, eax
jae 0x41fd7d
lea eax, [ebp + 8]
push eax
call fcn.0041fb21
pop ecx
mov bl, al
mov ecx, dword [ebp - 0x6c]
call fcn.00420f48
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x41ffb2
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x54], 0
jne 0x41fd90
call fcn.0041f95e
jmp 0x41ffb2
mov ecx, dword [ebp - 0x6c]
call fcn.004213c9
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x44], 0
jne 0x41fde0
mov eax, dword [ebp - 0x6c]
push dword [eax + 0x54]
lea eax, [ebp + 8]
push eax
call fcn.0041fb21
pop ecx
movzx eax, al
push eax
call fcn.0041fff9
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x41fdcb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
jmp 0x41fdd3
call fcn.0041f95e
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
jmp 0x41ffb2
mov dword [ebp - 0x10], 8
lea eax, [ebp + 8]
push eax
call fcn.0041fb21
pop ecx
mov byte [ebp - 0x15], al
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.00420959
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00414606
mov ecx, eax
call fcn.00415155
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.004215af
add esi, eax
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00414606
mov ecx, eax
call fcn.00415155
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x15]
push eax
mov eax, dword [ebp - 0x6c]
add eax, 0x4c
push eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x44]
call fcn.00421613
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x41ff88
cmp dword [ebp - 0x74], 1
jle 0x41fe7c
cmp dword [ebp - 0x74], 3
je 0x41ff4a
jmp 0x41ff88
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00414606
mov ecx, eax
call fcn.00415155
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x40], ecx
je 0x41fee1
mov eax, dword [ebp - 0x6c]
push dword [eax + 0x54]
push dword [ebp - 0x40]
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00414606
mov ecx, eax
call fcn.00415155
push eax
call fcn.00434ff7
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x41fee1
call fcn.0041f95e
mov dword [ebp - 0x58], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00404c24
mov eax, dword [ebp - 0x58]
jmp 0x41ffb2
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0x49], 1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x15]
cmp eax, ecx
je 0x41ff0c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00404c24
mov eax, dword [ebp - 0x5c]
jmp 0x41ffb2
cmp dword [ebp - 0x40], 0
jbe 0x41ff14
jmp 0x41ff48
lea ecx, [ebp - 0x3c]
call fcn.004215af
cmp eax, 0x20
jae 0x41ff2f
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.0041508f
jmp 0x41ff48
call fcn.0041f95e
mov dword [ebp - 0x60], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00404c24
mov eax, dword [ebp - 0x60]
jmp 0x41ffb2
jmp 0x41ffa1
mov eax, dword [ebp - 0x6c]
push dword [eax + 0x54]
push dword [ebp - 0x15]
call fcn.0041fff9
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x41ff69
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
jmp 0x41ff71
call fcn.0041f95e
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00404c24
mov eax, dword [ebp - 0x64]
jmp 0x41ffb2
call fcn.0041f95e
mov dword [ebp - 0x68], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00404c24
mov eax, dword [ebp - 0x68]
jmp 0x41ffb2
jmp 0x41fe04
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00431c7a
leave
ret 4