Function at 0x41d8d0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xacc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xae4]
mov ebp, 5
push edi
push ebp
lea eax, [esi + 9]
push str.CDROM
push eax
call fcn.005402f0
add esp, 0xc
test eax, eax
jne 0x41da0b
lea ecx, [esi + 8]
push ecx
call fcn.00422710
add esp, 4
cmp eax, 1
jne 0x41e043
mov ebp, dword [esp + 0xae0]
mov eax, dword [esp + 0xae8]
mov ecx, 0x200
lea ebx, [ebp + 0x2d8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0xb4]
lea edi, [ebp + 0x12e8]
mov ecx, 8
add eax, 0x88
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push eax
mov dword [ebp + 0x298], 1
call fcn.00422730
mov edx, dword [esp + 0xaec]
mov dword [ebp + 0x3b90], eax
add edx, 0x58
mov dword [ebp + 0x3b94], 1
push edx
call fcn.00422690
cdq
mov dword [ebp + 0x3b98], eax
mov eax, dword [esp + 0xaec]
lea esi, [ebp + 0x12fa]
mov dword [ebp + 0x3b9c], edx
push esi
mov dword [ebp + 0x12e0], eax
mov dword [ebp + 0x3c24], 0
call fcn.00423680
push esi
mov dword [ebp + 0x38b0], eax
call fcn.00423680
push esi
mov dword [ebp + 0x38b4], eax
call fcn.00423680
push esi
mov dword [ebp + 0x38b8], eax
call fcn.00423680
push ebx
push ebp
mov dword [ebp + 0x38bc], eax
call fcn.00416950
mov ecx, dword [esi]
add esp, 0x20
mov dword [0x85ac12], ecx
mov dx, word [esi + 4]
mov word [0x85ac16], dx
mov al, byte [esi + 6]
pop edi
pop esi
mov byte [0x85ac18], al
pop ebp
mov eax, 5
pop ebx
add esp, 0xacc
ret
push esi
call fcn.00422710
add esp, 4
cmp eax, 0xff
jne 0x41da41
push ebp
lea ecx, [esi + 1]
push str.CD001
push ecx
call fcn.005402f0
add esp, 0xc
test eax, eax
jne 0x41da41
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xacc
ret
mov eax, dword [0x73791c]
test eax, eax
jne 0x41dd6b
mov eax, dword [esp + 0xaec]
test eax, eax
je 0x41dd6b
test byte [esp + 0xb0c], 1
je 0x41dd6b
mov eax, dword [esp + 0xb04]
mov ecx, dword [esp + 0xb08]
mov edi, dword [esp + 0xb00]
mov edx, eax
shr eax, 0x10
shl ecx, 0x10
or eax, ecx
mov dword [esp + 0x28], ebp
shr edi, 0x10
shl edx, 0x10
mov ebx, eax
mov eax, 0xb
or edi, edx
mov dword [esp + 0x14], ebp
xor esi, esi
mov dword [esp + 0x24], 3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0xe
mov dword [esp + 0x34], 0x14
mov dword [esp + 0x38], 0x17
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x40], 0x2a
mov dword [esp + 0x44], 0x38
mov dword [esp + 0x48], 0x39
mov dword [esp + 0x10], 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x13
mov dword [esp + 0x20], 0xe5
xor edx, edx
lea ebp, [esp + 0x24]
mov ecx, dword [ebp]
cmp ecx, 0xffffffff
je 0x41db34
cmp ecx, 0x20
jge 0x41db1a
mov eax, edi
jmp 0x41db1f
mov eax, ebx
sub ecx, 0x20
shr eax, cl
lea ecx, [esi + esi]
add ebp, 4
and eax, 1
or eax, ecx
inc edx
cmp edx, 0xa
mov esi, eax
jl 0x41db09
xor ebp, ebp
lea edi, [esp + 0x10]
mov ecx, dword [edi]
cmp ecx, 0xffffffff
je 0x41dd64
mov eax, esi
xor edx, edx
div ecx
imul eax, ecx
cmp eax, esi
je 0x41db60
inc ebp
add edi, 4
cmp ebp, 5
jl 0x41db3a
jmp 0x41dd64
cmp byte [esp + 0xb0c], 0x57
jne 0x41dd64
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xdc]
mov dword [0x73791c], 1
mov dword [esp + 0x4c], 0x8303b67d
mov dword [esp + 0x50], 0xc614b05c
mov dword [esp + 0x54], 0xd715b74e
mov dword [esp + 0x58], 0xc703ac4c
mov dword [esp + 0x5c], 0xd103a809
mov dword [esp + 0x60], 0xcd09b75a
mov dword [esp + 0x64], 0xcd07bd09
mov dword [esp + 0x68], 0xcf08b109
mov dword [esp + 0x6c], 0xd105fe50
mov dword [esp + 0x70], 0xc612bf4c
mov dword [esp + 0x74], 0x8314b109
mov dword [esp + 0x78], 0xd70fba4c
mov dword [esp + 0x7c], 0xc60eaa09
mov dword [esp + 0x80], 0xcf0fb809
mov dword [esp + 0x84], 0xcb11fe4c
mov dword [esp + 0x88], 0x830ebd40
mov dword [esp + 0x8c], 0xd003b14d
mov dword [esp + 0x90], 0xd709b009
mov dword [esp + 0x94], 0xc01ebb09
mov dword [esp + 0x98], 0x8302bb4c
mov dword [esp + 0x9c], 0x8303b65d
mov dword [esp + 0xa0], 0xc61cb75a
mov dword [esp + 0xa4], 0x8300b109
mov dword [esp + 0xa8], 0xee56ee1a
mov dword [esp + 0xac], 0xcc32fe07
mov dword [esp + 0xb0], 0xce03ac09
mov dword [esp + 0xb4], 0x8303a846
mov dword [esp + 0xb8], 0xd00fb65d
mov dword [esp + 0xbc], 0xce0fb209
mov dword [esp + 0xc0], 0xd707aa40
mov dword [esp + 0xc4], 0x8f08b140
mov dword [esp + 0xc8], 0xc60aae09
mov dword [esp + 0xcc], 0x8303ad48
mov dword [esp + 0xd0], 0xca01bb5b
mov dword [esp + 0xd4], 0xd103aa5a
mov dword [esp + 0xd8], 0xa366de07
rep stosd dword es:[edi], eax
mov edx, dword [esp + eax + 0x4c]
add eax, 4
xor edx, 0xa366de29
cmp eax, 0x90
mov dword [esp + eax + 0xd8], edx
jl 0x41dced
mov eax, dword [0x748004]
push 0x40000
push 0
push eax
lea ecx, [esp + 0xe8]
push 0xffffffffffffffff
push ecx
call fcn.0042b5a0
mov eax, dword [0x78ca5c]
add esp, 0x14
test eax, eax
jne 0x41dd41
mov edx, dword [0x748004]
push 0x10
push edx
call fcn.004f3450
add esp, 8
push 0
push 0
push 0x671120
call fcn.004f6430
or eax, 0x80000000
push 0
push eax
push 0x671120
call fcn.004f6640
add esp, 0x18
mov esi, dword [esp + 0xae8]
push 5
lea eax, [esi + 1]
push str.CD001
push eax
call fcn.005402f0
add esp, 0xc
test eax, eax
jne 0x41df0a
push esi
call fcn.00422710
add esp, 4
cmp eax, 1
jne 0x41df0a
mov ebp, dword [esp + 0xae0]
mov eax, dword [ebp + 0x294]
test eax, eax
jne 0x41e043
lea ebx, [ebp + 0x2d8]
mov ecx, 0x200
mov edi, ebx
lea edx, [ebp + 0x12ea]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x374]
lea edi, [ebp + 0x12e8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 1
lea ecx, [esp + 0x2dc]
push esi
push ecx
push edx
call fcn.004226c0
add esp, 4
cdq
push edx
push eax
push ebp
call fcn.0041c210
add esp, 0x14
cmp eax, esi
jne 0x41e043
lea eax, [esp + 0x2dc]
push 0x800
push eax
call fcn.0041d110
add esp, 8
test eax, eax
jne 0x41e043
lea ecx, [ebp + 0x358]
mov dword [ebp + 0x294], esi
push ecx
call fcn.00422730
lea edx, [ebp + 0x328]
mov dword [ebp + 0x3b90], eax
push edx
mov dword [ebp + 0x3b94], esi
call fcn.00422690
cdq
mov dword [ebp + 0x3b98], eax
mov eax, dword [esp + 0xaec]
mov dword [ebp + 0x12e0], eax
mov eax, dword [ebp + 0x294]
add esp, 8
mov dword [ebp + 0x3b9c], edx
test eax, eax
mov dword [ebp + 0x3c24], 0
je 0x41de89
push ebp
call fcn.00426690
add esp, 4
mov dword [ebp + 0x3c24], eax
lea ecx, [ebp + 0x605]
push ecx
call fcn.00423400
lea edx, [ebp + 0x616]
mov dword [ebp + 0x38b0], eax
push edx
call fcn.00423400
mov dword [ebp + 0x38b4], eax
lea eax, [ebp + 0x638]
push eax
call fcn.00423400
lea ecx, [ebp + 0x627]
mov dword [ebp + 0x38b8], eax
push ecx
call fcn.00423400
push ebx
push ebp
mov dword [ebp + 0x38bc], eax
call fcn.00416760
add esp, 0x18
add ebp, 0x12fa
mov edx, dword [ebp]
pop edi
mov dword [0x85ac12], edx
mov ax, word [ebp + 4]
mov word [0x85ac16], ax
mov eax, esi
mov cl, byte [ebp + 6]
pop esi
pop ebp
mov byte [0x85ac18], cl
pop ebx
add esp, 0xacc
ret
mov ebp, dword [esp + 0xae0]
mov eax, dword [ebp + 0x3be0]
test eax, eax
jne 0x41e00f
push esi
call fcn.00422710
add esp, 4
cmp eax, 2
jne 0x41e00f
cmp byte [esi + 0x58], 0x25
jne 0x41e043
cmp byte [esi + 0x59], 0x2f
jne 0x41e043
mov al, byte [esi + 0x5a]
cmp al, 0x40
jne 0x41df58
mov dword [ebp + 0x3be0], 1
jmp 0x41df76
cmp al, 0x43
jne 0x41df68
mov dword [ebp + 0x3be0], 2
jmp 0x41df76
cmp al, 0x45
jne 0x41df76
mov dword [ebp + 0x3be0], 3
mov eax, dword [ebp + 0x3c24]
lea ebx, [ebp + 0xad8]
mov ecx, 0x200
mov edi, ebx
test eax, eax
rep movsd dword es:[edi], dword [esi]
jne 0x41dff2
lea esi, [ebp + 0xb74]
lea edi, [ebp + 0x12e8]
mov ecx, 8
lea edx, [ebp + 0xb28]
rep movsd dword es:[edi], dword [esi]
push edx
movsw word es:[edi], word [esi]
call fcn.00422690
cdq
push ebx
mov dword [ebp + 0x3b98], eax
push ebp
mov dword [ebp + 0x3b9c], edx
call fcn.004169c0
lea eax, [ebp + 0x12fa]
add esp, 0xc
mov ecx, dword [eax]
mov dword [0x85ac52], ecx
mov dx, word [eax + 4]
mov word [0x85ac56], dx
mov al, byte [eax + 6]
mov byte [0x85ac58], al
mov dword [ebp + 0x130c], 1
mov ecx, dword [esp + 0xae4]
pop edi
mov dword [ebp + 0x12e4], ecx
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xacc
ret
push 0x20
add esi, 7
push str.EL_TORITO_SPECIFICATION
push esi
call fcn.005402f0
add esp, 0xc
test eax, eax
jne 0x41e043
mov edx, dword [esp + 0xae4]
pop edi
mov dword [ebp + 0x1420], edx
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xacc
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xacc
ret