Function at 0x50f370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
xor edi, edi
mov ebx, dword [ebp + 0x18]
push 0x9300
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
call fcn.004f56f0
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x50f3be
push 0x6722c4
push 0x64
call fcn.0051faa0
push eax
push 1
push ebp
call fcn.0051a630
add esp, 0x14
jmp 0x50f9b0
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x70], eax
mov esi, dword [eax + 0x2b8]
cmp esi, edi
je 0x50f9b0
push esi
call fcn.00434110
mov ecx, dword [esi + 0xc]
mov edi, eax
mov eax, dword [0x73793c]
add esp, 4
test eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], ecx
je 0x50f44e
push 0
push ebp
call fcn.0051ac00
mov edi, dword [esp + 0x78]
add esp, 8
mov eax, dword [0x78ca5c]
mov dword [esp + 0x10], 0
test eax, eax
je 0x50f423
push str.Writing_media...
call fcn.004a8900
add esp, 4
mov ecx, dword [esp + 0x30]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x50f8b9
lea ecx, [esi + 0x3334]
add esi, 0x3190
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], esi
jmp 0x50f6f4
mov eax, dword [0x7d0754]
test eax, eax
je 0x50f4b5
push ebx
call fcn.0050cb60
add esp, 4
cmp eax, 0xffffffff
jne 0x50f474
push str.Error_reading_drive_information.
push 0x24e
jmp 0x50f3a8
test eax, eax
jne 0x50f4b5
push str.The_current_drive_does_not_support_CD_Text.
push 0x24f
call fcn.0051faa0
push eax
push 0
push ebp
call fcn.0051a630
push str.The_writing_CD_Text_shall_be_ignored.
push 0x250
call fcn.0051faa0
push eax
push 0
push ebp
call fcn.0051a630
add esp, 0x28
mov dword [0x7d0754], 0
lea edx, [esp + 0x38]
lea eax, [esp + 0x24]
push edx
push eax
push esi
push ebp
call fcn.0050ee20
add esp, 0x10
test eax, eax
je 0x50f9b0
mov ecx, dword [esp + 0x70]
mov eax, dword [0x671d84]
mov dl, byte [ecx + 0x2bc]
mov cl, byte [0x7d0758]
neg dl
sbb dl, dl
and edx, 0x20
neg eax
sbb al, al
push edx
and al, 0xfd
push 0
add al, 3
push eax
push 2
push ecx
push ebx
call fcn.005102d0
add esp, 0x18
test eax, eax
jne 0x50f540
push ebx
call fcn.00509220
add esp, 4
push eax
push 0x104
push str.Burning_failed
push pe_nt_image_headers32
call fcn.0051faa0
add esp, 8
push eax
push str._s___d___08x_.
push 1
push ebp
call fcn.0051a630
add esp, 0x18
jmp 0x50f9b0
push edi
push 0
push 1
push 0xff
push ebp
call fcn.0050b9c0
add esp, 0x14
test eax, eax
je 0x50f9b0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
push edx
push eax
push ebx
call fcn.0050ba70
add esp, 0xc
test eax, eax
jne 0x50f5a9
push ebx
call fcn.00509220
add esp, 4
push eax
push 0x10c
push str.Burning_failed
push pe_nt_image_headers32
call fcn.0051faa0
add esp, 8
push eax
push str._s__d___08x_
push 1
push ebp
call fcn.0051a630
add esp, 0x18
jmp 0x50f9b0
mov eax, dword [0x7d0754]
test eax, eax
je 0x50f6ac
lea ecx, [esp + 0x40]
push 0x2a
push ecx
push 0
push ebx
call fcn.0050b6c0
add esp, 0x10
test eax, eax
jne 0x50f5db
push str.Error_reading_media_information.
push 0x102
jmp 0x50f3a8
mov eax, dword [esp + 0x51]
cmp al, 0x5a
jb 0x50f6ac
and eax, 0xff
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x52]
and eax, 0xff
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x53]
and edx, 0xff
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, dword [0x7d0758]
test eax, eax
lea edi, [ecx + edx - 0x6de66]
je 0x50f62d
push str.Simulation_of_writing_Audio_CD_Text...
push 0x28a
jmp 0x50f637
push str.Writing_Audio_CD_Text...
push 0x1bf
call fcn.0051faa0
push eax
push 0
push ebp
call fcn.0051a630
add esp, 0x14
push edi
push esi
push ebp
call fcn.0050d060
mov edi, dword [esp + 0x7c]
add esp, 0xc
test eax, eax
jne 0x50f6b0
mov eax, dword [edi + 0x2c0]
test eax, eax
je 0x50f675
push ebx
call fcn.00509260
add esp, 4
cmp eax, 0x52400
je 0x50f6b0
push ebx
call fcn.00509220
add esp, 4
push eax
push 0x12c
push str.Error_writing_data.
push 0x14a
call fcn.0051faa0
add esp, 8
push eax
push str._s___d__08x_
push 1
push ebp
call fcn.0051a630
add esp, 0x18
jmp 0x50f9b0
mov edi, dword [esp + 0x70]
push 0
push ebp
call fcn.0051ac00
push 0x10
push 0
push 0x96
push 0x930
push 0xffffff6a
push ebp
call fcn.0050cfa0
add esp, 0x20
test eax, eax
jne 0x50f405
push 0xffffff6a
push 0x136
jmp 0x50f684
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x70]
cmp dword [edi + 0x29c], 0x64
je 0x50f781
mov edx, dword [edi + 0x2c0]
test edx, edx
je 0x50f710
cmp eax, 1
jge 0x50f781
mov dl, byte [edi + 0x2bc]
test dl, dl
je 0x50f773
cmp eax, 1
jl 0x50f773
mov dword [0x7d075c], 1
push ecx
push 0
push ebp
call fcn.0051adc0
mov edi, dword [esi - 0x2de8]
mov edx, dword [esi - 0x2ac8]
mov ecx, dword [esi - 0x27a8]
add edi, edx
add edi, ecx
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x3c], edi
test edi, edi
jle 0x50f88b
push 1
call fcn.0050ebc0
mov esi, edi
add esp, 4
sub esi, ebx
cmp esi, 0x10
jl 0x50f7a4
mov esi, 0x10
jmp 0x50f7b5
mov dword [0x7d075c], 0
push 0
jmp 0x50f72a
inc eax
mov dword [0x7d075c], 1
cmp eax, 0x64
jge 0x50f729
mov eax, dword [esi]
test eax, eax
je 0x50f729
mov eax, dword [eax + 0x198]
test eax, eax
je 0x50f729
push eax
jmp 0x50f72a
mov edi, dword [esp + 0x18]
mov ecx, 0x24c0
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
push 0
push esi
push eax
push ecx
call fcn.00508780
add esp, 0x10
test eax, eax
je 0x50f9b0
mov ecx, dword [0x73793c]
test ecx, ecx
je 0x50f7fe
lea ecx, [esi + esi*2]
shl ecx, 4
add ecx, esi
lea edx, [ecx + ecx*2]
shl edx, 4
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [ebp + 0x2c]
push eax
call fcn.004f5ad0
add esp, 0x14
jmp 0x50f82e
lea ecx, [esi + esi*2]
mov edx, dword [esp + 0x10]
shl ecx, 4
add ecx, esi
push 0x930
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push ebp
call fcn.0050c0f0
add esp, 0x18
test eax, eax
je 0x50f8d6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
push 1
push esi
add eax, esi
push ecx
push edx
add ebx, esi
mov dword [esp + 0x20], eax
call fcn.00508780
mov eax, dword [0x78ca5c]
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x28]
je 0x50f870
cdq
push edx
push eax
mov eax, dword [esp + 0x18]
cdq
push edx
push eax
call fcn.004a8920
add esp, 0x10
jmp 0x50f87f
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
call fcn.0051ae90
add esp, 0xc
cmp ebx, edi
jl 0x50f759
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
inc eax
add esi, 4
add edx, 0x908
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], edx
jl 0x50f6e8
mov ebx, dword [esp + 0x20]
mov eax, dword [0x78ca5c]
test eax, eax
je 0x50f933
call fcn.004a89a0
push 0x674034
call fcn.004a87c0
add esp, 4
jmp 0x50f93e
mov esi, dword [esp + 0x20]
push esi
call fcn.00509220
mov edx, dword [esp + 0x14]
add esp, 4
push eax
push edx
push 0x16e
push str.Error_writing_data.
push 0x14a
call fcn.0051faa0
add esp, 8
push eax
push str._s___d__08x__08x_
push 1
push ebp
call fcn.0051a630
mov eax, dword [0x7d0758]
add esp, 0x1c
test eax, eax
jne 0x50f9b0
mov eax, dword [esp + 0x14]
inc eax
push eax
push 1
push 0
push esi
call fcn.0050bec0
add esp, 0x10
jmp 0x50f9b0
push 1
push ebp
call fcn.0051ad90
add esp, 8
mov eax, dword [0x73793c]
test eax, eax
jne 0x50f9a8
push 0x72bca8
push 0xf5
call fcn.0051faa0
push eax
push 0
push ebp
call fcn.0051a630
push 0x64
push 0x64
push ebp
call fcn.0051ae90
push 1
push ebx
call fcn.0050bc20
add esp, 0x28
test eax, eax
jne 0x50f987
push str.Synchronizing_cache_failed.
push 0x165
jmp 0x50f3a8
push 0x708
push ebx
call fcn.0050ea90
add esp, 8
test eax, eax
jne 0x50f9a8
push str.Synchronizing_cache_failed.
push 0x165
jmp 0x50f3a8
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004f5720
mov edx, dword [esp + 0x1c]
push edx
call fcn.004f5720
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [0x7d075c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret