Function at 0x41bbbc
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov eax, 0x4e18dc
call fcn.004c9c18
xor edx, edx
mov dword [ebp - 0x50], edx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
xor eax, eax
mov dword [ebp - 0x58], eax
xor edx, edx
mov dword [ebp - 0x5c], edx
cmp dword [ebp + 0xc], 0
jne 0x41bc3a
mov word [ebp - 0x3c], 8
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004d4558
inc dword [ebp - 0x30]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x14
push eax
dec dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x3c], 8
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41c07c
mov word [ebp - 0x3c], 0x2c
lea eax, [ebp - 4]
xor edx, edx
call fcn.004d4558
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x20
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [sym.MP3Resizer.exe__frmMain]
mov eax, dword [ecx]
mov eax, dword [eax + 0x330]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
mov eax, dword [sym.MP3Resizer.exe__frmMain]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x330]
mov eax, dword [eax + 0x22c]
call fcn.004b70a8
add eax, 0x24
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
cmp dword [edx], 0
je 0x41bca7
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx]
jmp 0x41bcac
mov eax, 0x4e0deb
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
jne 0x41bd1c
mov word [ebp - 0x3c], 0x38
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004d4558
inc dword [ebp - 0x30]
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x44
push eax
dec dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x3c], 0x38
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41c07c
push 0
push dword [ebp - 0x54]
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41bd90
mov word [ebp - 0x3c], 0x50
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004d4558
inc dword [ebp - 0x30]
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x5c
push eax
dec dword [ebp - 0x30]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x3c], 0x50
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41c07c
movsx eax, byte [0x4d645f]
imul dword [ebp - 0x50]
cdq
idiv dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
call fcn.004c8e2c
pop ecx
mov dword [ebp - 0x64], eax
mov word [ebp - 0x3c], 0x20
push dword [ebp - 0x5c]
push 0
push dword [ebp - 0x64]
call fcn.004c98cc
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x68], ecx
xor eax, eax
mov dword [ebp - 0x6c], eax
push 0
push 0
push 0
push dword [ebp - 0x54]
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
jne 0x41be41
mov word [ebp - 0x3c], 0x68
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.004d4558
inc dword [ebp - 0x30]
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x74
push eax
dec dword [ebp - 0x30]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x3c], 0x68
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41c07c
push 0
lea ecx, [ebp - 0x68]
push ecx
push dword [ebp - 0x5c]
push dword [ebp - 0x64]
push dword [ebp - 0x54]
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x41beba
mov word [ebp - 0x3c], 0x80
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.004d4558
inc dword [ebp - 0x30]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x8c
push eax
dec dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x3c], 0x80
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41c07c
push dword [ebp - 0x54]
call sub.kernel32.dll_CloseHandle
mov word [ebp - 0x3c], 0x98
mov edx, 0x4e0dec
lea eax, [ebp - 8]
call fcn.004d443c
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x20
mov word [ebp - 0x3c], 0xa4
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x20]
push eax
inc dword [ebp - 0x30]
call fcn.0041c084
pop ecx
lea edx, [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.004d45cc
dec dword [ebp - 0x30]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004d459c
push 0
push 0x20
push 1
push 0
push 0
push 0x40000000
cmp dword [ebp - 8], 0
je 0x41bf2b
mov ecx, dword [ebp - 8]
jmp 0x41bf30
mov ecx, 0x4e0ded
push ecx
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x41bfb0
mov word [ebp - 0x3c], 0xb0
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.004d4558
inc dword [ebp - 0x30]
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0xbc
push eax
dec dword [ebp - 0x30]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x30]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x3c], 0xb0
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41c07c
push 0
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x5c]
push dword [ebp - 0x64]
push dword [ebp - 0x58]
call sub.kernel32.dll_WriteFile
test eax, eax
jne 0x41bff8
mov word [ebp - 0x3c], 0xc8
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.004d4558
inc dword [ebp - 0x30]
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.004d45cc
dec dword [ebp - 0x30]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004d459c
jmp 0x41c003
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004d45cc
push dword [ebp - 0x58]
call sub.kernel32.dll_CloseHandle
mov word [ebp - 0x3c], 0xd4
push dword [ebp - 0x64]
call fcn.004c8c54
pop ecx
mov word [ebp - 0x3c], 0x20
jmp 0x41c02d
mov word [ebp - 0x3c], 0xe0
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0xec
push eax
dec dword [ebp - 0x30]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x3c], 0xe0
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret