Function at 0x41f428
Capabilities:
Enumerate files on windows
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff478
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x17c]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
push eax
push ebx
lea edx, [ebp - 0x284]
push edx
call fcn.00446208
add esp, 8
lea eax, [ebp - 0x284]
mov edx, esi
call fcn.00445579
lea ecx, [ebp - 0x284]
push ecx
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 0x180], eax
jmp 0x41f6f1
cmp ebx, 0xffffffff
je 0x41f48a
lea eax, [ebp - 0x150]
jmp 0x41f48f
mov eax, 0x4533b5
push eax
call fcn.00446238
pop ecx
mov ebx, eax
cmp ebx, 0xff
jg 0x41f6ba
mov edx, dword [ebp - 0x180]
cmp edx, 0xffffffff
je 0x41f4b7
lea edx, [ebp - 0x150]
jmp 0x41f4bc
mov edx, 0x4533b5
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00441421
lea eax, [ebp - 0x10]
push 0
push eax
lea edx, [ebp + 8]
push 1
push edx
mov ecx, dword [ebp - 8]
push dword [ecx]
call sub.KERNEL32.dll_WriteFile
mov byte [ebp - 0x11], bl
lea eax, [ebp - 0x18]
push 0
push eax
lea edx, [ebp - 0x11]
push 1
push edx
mov ecx, dword [ebp - 8]
push dword [ecx]
call sub.KERNEL32.dll_WriteFile
mov eax, dword [ebp - 0x180]
cmp eax, 0xffffffff
je 0x41f50b
lea eax, [ebp - 0x150]
jmp 0x41f510
mov eax, 0x4533b5
xor edx, edx
lea ecx, [ebp - 0x1c]
mov dl, byte [ebp - 0x11]
push 0
push ecx
push edx
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call sub.KERNEL32.dll_WriteFile
push dword [ebp - 0xc]
lea edx, [ebp - 0x388]
push edx
call fcn.00446208
add esp, 8
mov ecx, dword [ebp - 0x180]
cmp ecx, 0xffffffff
je 0x41f54c
lea eax, [ebp - 0x150]
jmp 0x41f551
mov eax, 0x4533b5
push eax
lea edx, [ebp - 0x388]
push edx
call fcn.00446178
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], ecx
push 0
push 0x80
push 3
push 0
push 1
lea eax, [ebp - 0x388]
push 0x80000000
push eax
call sub.KERNEL32.dll_CreateFileA
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp ebx, 0xffffffff
setne al
and eax, 1
test al, al
je 0x41f680
push 0
push ebx
call sub.KERNEL32.dll_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f5b4
xor edx, edx
jmp 0x41f5b6
mov edx, esi
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x2c]
push 0
push eax
lea ecx, [ebp - 0x24]
push 4
push ecx
mov eax, dword [ebp - 8]
push dword [eax]
call sub.KERNEL32.dll_WriteFile
mov edx, dword [ebp - 0x24]
test edx, edx
jbe 0x41f696
mov eax, dword [ebp - 4]
call fcn.004413b8
test al, al
je 0x41f615
xor eax, eax
push eax
mov edx, dword [ebp - 0x28]
cmp edx, 0xffffffff
je 0x41f5f9
push dword [ebp - 0x28]
call sub.KERNEL32.dll_CloseHandle
mov ecx, dword [ebp - 0x180]
cmp ecx, 0xffffffff
je 0x41f60f
push dword [ebp - 0x180]
call sub.KERNEL32.dll_FindClose
pop eax
jmp 0x41f722
mov ebx, dword [ebp - 0x24]
cmp ebx, 0x800
jbe 0x41f625
mov ebx, 0x800
lea edx, [ebp - 0x30]
push 0
push edx
mov eax, ebx
push eax
lea ecx, [ebp - 0xb88]
push ecx
push dword [ebp - 0x28]
call sub.KERNEL32.dll_ReadFile
lea edx, [ebp - 0x34]
push 0
push edx
mov eax, ebx
push eax
lea ecx, [ebp - 0xb88]
push ecx
mov eax, dword [ebp - 8]
push dword [eax]
call sub.KERNEL32.dll_WriteFile
xor edx, edx
lea eax, [ebp - 0xb88]
cmp ebx, edx
jbe 0x41f670
xor ecx, ecx
mov cl, byte [eax]
add dword [ebp - 0x20], ecx
inc edx
inc eax
cmp ebx, edx
ja 0x41f663
sub dword [ebp - 0x24], ebx
mov edx, dword [ebp - 0x24]
test edx, edx
ja 0x41f5da
jmp 0x41f696
lea eax, [ebp - 0x38]
push 0
push eax
lea edx, [ebp - 0x24]
push 4
push edx
mov ecx, dword [ebp - 8]
push dword [ecx]
call sub.KERNEL32.dll_WriteFile
lea eax, [ebp - 0x3c]
push 0
push eax
lea edx, [ebp - 0x20]
push 4
push edx
mov ecx, dword [ebp - 8]
push dword [ecx]
call sub.KERNEL32.dll_WriteFile
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41f6ba
push eax
call sub.KERNEL32.dll_CloseHandle
mov ebx, dword [ebp - 0x180]
cmp ebx, 0xffffffff
je 0x41f6f1
lea eax, [ebp - 0x17c]
push eax
push ebx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x41f6ef
push dword [ebp - 0x180]
call sub.KERNEL32.dll_FindClose
mov dword [ebp - 0x180], 0xffffffff
xor edx, edx
jmp 0x41f6f1
mov dl, 1
mov ebx, dword [ebp - 0x180]
cmp ebx, 0xffffffff
setne al
and eax, 1
test al, al
jne 0x41f47d
mov al, 1
push eax
mov edx, dword [ebp - 0x180]
cmp edx, 0xffffffff
je 0x41f721
push dword [ebp - 0x180]
call sub.KERNEL32.dll_FindClose
pop eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8