Function at 0x41bec1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, 1
cmp dword [0x466640], 0
je 0x41bf03
mov eax, dword [0x43009c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [0x466640]
mov dword [esp], eax
call fcn.004220ae
mov edx, 0xffffffff
test eax, eax
js 0x41c1a5
mov dword [ebp - 0x3c], 0x800
mov esi, 0x800
cmp dword [0x430040], 1
jle 0x41bf40
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.Creating_HFS_Volume_info_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 8], 0x1b
mov eax, dword [0x455174]
test eax, eax
jne 0x41bf56
mov eax, dword [str.CDROM]
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov byte [ebp - 0x1d], 0
mov eax, dword [0x455018]
mov ebx, eax
sub ebx, dword [0x45501c]
shl ebx, 2
cmp ebx, 0x63f
jg 0x41bf92
mov eax, 0x640
sub eax, ebx
mov dword [esp], eax
call fcn.0040cd8b
add ebx, eax
test edi, edi
je 0x41bff9
mov dword [esp], ebx
call fcn.0041bd17
mov edx, dword [0x466c50]
mov dword [edx + 0x2c], eax
mov dword [esp], ebx
call fcn.0041bdc1
mov ebx, eax
mov dword [esp], eax
call fcn.0041bd00
mov esi, eax
cmp eax, dword [ebp - 0x3c]
jne 0x41bfc7
mov edi, 0
jmp 0x41bff5
mov dword [esp], eax
call fcn.0040c9db
mov ebx, eax
test eax, eax
js 0x41c15e
mov eax, dword [ebp + 0xc]
sub eax, dword [0x45501c]
lea eax, [esi + eax*4 - 1]
mov edx, 0
div esi
imul eax, esi
add ebx, eax
mov dword [ebp - 0x3c], esi
test edi, edi
jne 0x41bf96
mov eax, dword [0x466c50]
sub ebx, dword [eax + 0x10]
mov dword [eax + 0x14], ebx
mov eax, dword [0x466c50]
mov dword [eax + 0x28], esi
lea ebx, [ebp - 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [0x466c50]
mov dword [esp], eax
call fcn.004223d6
test eax, eax
jns 0x41c052
mov dword [esp + 8], ebx
mov dword [esp + 4], str.cant_HFS_format__s
mov eax, dword [0x466c50]
mov eax, dword [eax + 0x38]
mov dword [esp], eax
call fcn.0042c971
mov edx, 0xffffffff
jmp 0x41c1a5
cmp esi, 0x800
je 0x41c088
mov eax, dword [0x466c50]
mov edx, dword [eax + 4]
add edx, dword [eax + 0x10]
mov dword [esp + 8], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0040caa9
mov dword [0x455018], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040cc25
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x466c50]
mov dword [esp], eax
call fcn.00421dc0
mov ebx, eax
test eax, eax
jne 0x41c0d4
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str.cant_HFS_mount__s
mov eax, dword [0x466c50]
mov eax, dword [eax + 0x38]
mov dword [esp], eax
call fcn.0042c971
mov edx, 0xffffffff
jmp 0x41c1a5
mov dword [0x466640], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0041c1af
mov edx, eax
test eax, eax
js 0x41c1a5
cmp dword [0x43008c], 0
je 0x41c115
mov eax, dword [0x455018]
sub eax, dword [0x45501c]
shl eax, 2
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0041c970
mov edx, eax
test eax, eax
js 0x41c1a5
mov dword [esp], ebx
call fcn.00422015
mov edx, 0xffffffff
test eax, eax
js 0x41c1a5
mov eax, dword [0x43009c]
mov dword [esp + 8], eax
mov eax, dword [0x455018]
sub eax, dword [0x45501c]
shl eax, 2
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004220ae
mov edx, 0xffffffff
test eax, eax
js 0x41c1a5
jmp 0x41c1a3
mov eax, dword [0x466c50]
mov eax, dword [eax + 0x38]
mov dword [eax], 0x206f6f74
mov dword [eax + 4], 0x796e616d
mov dword [eax + 8], 0x6c696620
mov dword [eax + 0xc], 0x66207365
mov dword [eax + 0x10], 0x4820726f
mov dword [eax + 0x14], 0x76205346
mov dword [eax + 0x18], 0x6d756c6f
mov word [eax + 0x1c], 0x65
mov edx, 0xffffffff
jmp 0x41c1a5
mov edx, esi
mov eax, edx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret