Function at 0x41ccf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5502b8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5a8f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4be6
push 0x11f6
push 0x13ad7
sub esp, 0x1c
mov edi, ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
xor ebx, ebx
push 0x30
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x5826b8
mov byte [ecx], bl
call fcn.00404410
lea ecx, [ebp - 0x48]
call fcn.004075e0
add esp, 0x28
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x41cd68
lea eax, [ebp - 0x48]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41cda2
mov dword [ebp - 4], eax
cmp dword [ebp - 0x34], 0x10
jb 0x41cd9b
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042465c
add esp, 4
xor eax, eax
jmp 0x41cef2
cmp dword [ebp + 8], ebx
je 0x41cdd1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 0x10
jb 0x41cdc7
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042465c
add esp, 4
mov eax, 1
jmp 0x41cef2
push 0x4be6
push 0x11f6
push 0x13ad7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x3e
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x582664
mov dword [ebp - 0x6c], ebx
mov byte [ecx], bl
call fcn.00404410
lea ecx, [ebp - 0x64]
call fcn.004075e0
add esp, 0x28
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 0x10
mov ecx, dword [ebp - 0x64]
jae 0x41ce1e
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x68]
push edx
call fcn.00402750
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 2
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.00403c30
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00402930
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x41ce64
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push ebx
lea ecx, [ebp - 0x70]
push ecx
inc edx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41ce81
mov dword [ebp - 0x6c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], edi
jb 0x41ce99
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp ecx, ebx
je 0x41ceba
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], edi
jb 0x41cece
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042465c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], edi
jb 0x41ceef
mov edx, dword [ebp - 0x48]
push edx
call fcn.0042465c
add esp, 4
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523079
mov esp, ebp
pop ebp
ret 4