Function at 0x41a9f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff0c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
push 0x64
call sub.kernel32.dll_Sleep_1
inc byte [ebp + 0xc]
mov al, byte [ebp + 0xc]
or al, byte [ebp + 8]
mov byte [ebp - 0xee], al
cmp byte [ebp + 8], 0
je 0x41aa38
mov dl, byte [0x4dec70]
mov byte [ebp - 0xf0], dl
mov cl, byte [0x4dec71]
mov byte [ebp - 0xef], cl
jmp 0x41aa46
mov byte [ebp - 0xf0], 0
mov byte [ebp - 0xef], 0
movsx eax, byte [0x4c5664]
cmp eax, 0x30
jne 0x41ab00
push 0
push 0x4dec34
push 1
lea edx, [ebp - 0xee]
push edx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_WriteFile_1
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xf2]
push ecx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
cmp byte [ebp + 8], 0
je 0x41aac8
push 0
push 0x4dec34
push 2
lea eax, [ebp - 0xf0]
push eax
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_WriteFile_1
push 0
push 0x4dec34
push 2
lea edx, [ebp - 0xf2]
push edx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 5]
push ecx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_WriteFile_1
push 0
push 0x4dec34
push 1
lea eax, [ebp - 0xf2]
push eax
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
jmp 0x41abde
push 0
push 0x4dec34
push 1
lea edx, [ebp - 0xee]
push edx
push dword [0x4dea64]
call sub.kernel32.dll_WriteFile_1
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xf2]
push ecx
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
jne 0x41ab49
mov eax, 1
jmp 0x41ad3d
cmp byte [ebp + 8], 0
je 0x41ab98
push 0
push 0x4dec34
push 2
lea edx, [ebp - 0xf0]
push edx
push dword [0x4dea64]
call sub.kernel32.dll_WriteFile_1
push 0
push 0x4dec34
push 2
lea ecx, [ebp - 0xf2]
push ecx
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
jne 0x41ab98
mov eax, 1
jmp 0x41ad3d
push 0
push 0x4dec34
push 1
lea edx, [ebp - 5]
push edx
push dword [0x4dea64]
call sub.kernel32.dll_WriteFile_1
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xf2]
push ecx
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
jne 0x41abde
mov eax, 1
jmp 0x41ad3d
mov dl, byte [ebp - 5]
add dl, byte [ebp - 0xef]
add dl, byte [ebp - 0xee]
add byte [ebp - 0xf0], dl
mov byte [ebp - 0xf3], 1
mov cl, byte [ebp - 0xf3]
cmp cl, byte [ebp + 0xc]
jae 0x41acb1
movsx eax, byte [0x4c5664]
cmp eax, 0x30
jne 0x41ac49
push 0
push 0x4dec34
push 1
push dword [ebp - 0xc]
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_WriteFile_1
push 0
push 0x4dec34
push 1
lea edx, [ebp - 0xf2]
push edx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
jmp 0x41ac8e
push 0
push 0x4dec34
push 1
push dword [ebp - 0xc]
push dword [0x4dea64]
call sub.kernel32.dll_WriteFile_1
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xf2]
push ecx
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
jne 0x41ac8e
mov eax, 1
jmp 0x41ad3d
mov edx, dword [ebp - 0xc]
mov cl, byte [edx]
add byte [ebp - 0xf0], cl
inc dword [ebp - 0xc]
inc byte [ebp - 0xf3]
mov al, byte [ebp - 0xf3]
cmp al, byte [ebp + 0xc]
jb 0x41ac09
movsx edx, byte [0x4c5664]
cmp edx, 0x30
jne 0x41acf5
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xf0]
push ecx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_WriteFile_1
push 0
push 0x4dec34
push 1
lea eax, [ebp - 0xf2]
push eax
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
jmp 0x41ad3b
push 0
push 0x4dec34
push 1
lea edx, [ebp - 0xf0]
push edx
push dword [0x4dea64]
call sub.kernel32.dll_WriteFile_1
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xf2]
push ecx
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
jne 0x41ad3b
mov eax, 1
jmp 0x41ad3d
xor eax, eax
mov esp, ebp
pop ebp
ret 8