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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x9300
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
call fcn.00487e70
add esp, 4
cmp eax, edi
mov dword [esp + 0x20], eax
jne 0x49be2f
push str.Out_of_memory._Program_abort.
push 0x64
call fcn.004a6ea0
push eax
push 1
call fcn.004a3640
jmp 0x49c367
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x48]
mov esi, dword [ecx + 0xcc]
cmp esi, edi
mov dword [esp + 0x1c], esi
je 0x49c36e
mov eax, dword [esi + 0x3b3cc]
mov edx, dword [esi + 0xc]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
shl ecx, 1
cmp edx, edi
mov dword [esp + 0x38], ecx
jle 0x49be88
lea eax, [esi + 0x6c4]
mov ebx, dword [eax - 0x320]
mov ebp, dword [eax + 0x320]
add ebx, ebp
mov ebp, dword [eax]
add ebx, ebp
add eax, 4
add ecx, ebx
dec edx
jne 0x49be6a
mov dword [esp + 0x38], ecx
cmp dword [0x5362ec], edi
jne 0x49bec2
mov edx, dword [0x52d15c]
mov eax, dword [0x594cd4]
mov ebp, dword [esp + 0x78]
push edx
push 0xffffffffffffffff
push eax
push 1
push ebp
call fcn.004a0490
mov eax, dword [0x594cec]
add esp, 0x14
cmp eax, edi
jne 0x49bee0
push ebp
call fcn.00498000
add esp, 4
jmp 0x49bee0
push str.d:_testTestBurn.BIN
call fcn.004871f0
add esp, 4
cmp eax, edi
mov dword [0x594cf0], eax
je 0x49c36e
mov ebp, dword [esp + 0x78]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x3b3cc]
push 0
push 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], ebx
call fcn.004a39a0
mov edi, 1
add esp, 8
cmp ebx, edi
mov dword [esp + 0x14], edi
jl 0x49c2a1
jmp 0x49bf18
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
mov eax, dword [0x5362ec]
test eax, eax
jne 0x49bfaf
lea edx, [esp + 0x30]
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [edi - 1]
push ecx
push edx
push esi
mov dword [esp + 0x44], 0
call fcn.0049ba50
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x49c36e
cmp edi, ebx
jl 0x49bf66
cmp byte [esi + 0x3b580], 2
jne 0x49bf66
xor eax, eax
jmp 0x49bf6b
mov eax, 3
mov ecx, dword [esp + 0x30]
mov dl, byte [0x594cec]
neg ecx
sbb cl, cl
and ecx, 0x20
push ecx
push 0
push eax
push 2
push edx
push ebp
call fcn.0049b900
add esp, 0x18
test eax, eax
je 0x49c36e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
call fcn.00497c60
add esp, 0xc
test eax, eax
je 0x49c36e
mov edx, dword [esp + 0x2c]
xor ebx, ebx
test edx, edx
jle 0x49bfce
lea ecx, [edi - 1]
lea eax, [esi + 0x3b3d0]
cmp dword [eax], ecx
je 0x49bfce
inc ebx
add eax, 4
cmp ebx, edx
jl 0x49bfc2
mov edi, dword [esp + 0x20]
mov edx, dword [esi + ebx*4 + 0x214]
mov ecx, 0x24c0
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x5362ec]
mov dword [esp + 0x30], edx
test eax, eax
mov dword [esp + 0x18], 0
jne 0x49c0a0
cmp dword [esp + 0x14], 1
jne 0x49c073
mov eax, dword [esi + 0x3b8ac]
test eax, eax
je 0x49c073
lea eax, [esp + 0x48]
push 0x2a
push eax
push 0
push ebp
call fcn.004978c0
add esp, 0x10
test eax, eax
je 0x49c2ea
mov eax, dword [esp + 0x59]
cmp al, 0x5a
jb 0x49c073
mov edx, dword [esp + 0x5a]
and eax, 0xff
and edx, 0xff
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x5b]
and ecx, 0xff
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + ecx - 0x6de66]
push eax
push esi
push ebp
call fcn.00499090
add esp, 0xc
test eax, eax
je 0x49c306
mov edx, dword [esi + ebx*4 + 0x214]
push 0x10
push 0
push 0x96
sub edx, 0x96
push 0x930
push edx
push ebp
call fcn.00498fe0
add esp, 0x18
test eax, eax
je 0x49c335
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], 0x96
cmp ebx, eax
mov dword [esp + 0x24], ebx
jge 0x49c22e
lea eax, [esi + ebx*4 + 0x9e4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0x3a9ec]
dec ecx
cmp edx, ecx
jne 0x49c22e
mov ebp, dword [eax - 0x640]
mov edi, dword [eax - 0x320]
mov edx, dword [eax]
add ebp, edi
add ebp, edx
xor ebx, ebx
test ebp, ebp
jle 0x49c20e
push 1
call fcn.0049a600
mov esi, ebp
add esp, 4
sub esi, ebx
cmp esi, 0x10
jl 0x49c10c
mov esi, 0x10
jmp 0x49c119
mov edi, dword [esp + 0x20]
mov ecx, 0x24c0
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
push 0
push esi
push edx
push eax
call fcn.00495410
mov edi, eax
mov eax, dword [0x5362ec]
add esp, 0x10
test edi, edi
je 0x49c34f
cmp eax, 1
jne 0x49c190
lea eax, [esi + esi*2]
mov edx, dword [esp + 0x18]
shl eax, 4
push 0
push 0
add eax, esi
push 0
push 0
push 0
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x44]
push 0
push 0
push 0
add eax, edx
shl ecx, 4
push 0
push ecx
cdq
push 0
push 0x930
push edx
push eax
call fcn.004b74a0
mov ecx, dword [0x594cf0]
push edx
push eax
push edi
push ecx
call fcn.00488120
add esp, 0x38
jmp 0x49c1c8
lea eax, [esi + esi*2]
mov ecx, dword [esp + 0x30]
shl eax, 4
add eax, esi
push 0x930
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
shl edx, 4
push edx
push edi
mov edi, dword [esp + 0x84]
add eax, ecx
push eax
push edi
call fcn.004982e0
add esp, 0x14
test eax, eax
je 0x49c3ee
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
add edi, esi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
push 1
push esi
add edi, esi
push edx
push eax
add ebx, esi
mov dword [esp + 0x44], edi
call fcn.00495410
mov ecx, dword [esp + 0x48]
push ecx
push edi
call fcn.004a3b50
add esp, 0x18
cmp ebx, ebp
jl 0x49c0f2
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x78]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], eax
jl 0x49c0c3
mov eax, dword [0x5362ec]
test eax, eax
jne 0x49c28c
push str.Synchronizing_cache...
push 0xf5
call fcn.004a6ea0
push eax
push 0
call fcn.004a3640
push 1
push ebp
call fcn.00497e10
add esp, 0x18
test eax, eax
je 0x49c443
push 0x708
push ebp
call fcn.0049a4d0
add esp, 8
test eax, eax
je 0x49c443
mov edx, dword [esp + 0x10]
push edx
call fcn.004b9ede
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x49bf10
mov eax, dword [0x594cec]
mov dword [esp + 0x28], 1
test eax, eax
je 0x49c36e
mov eax, dword [0x5362ec]
test eax, eax
jne 0x49c36e
mov bl, byte [esi + 0x3b580]
push 0
cmp bl, 2
push 0
sete cl
dec ecx
and ecx, 3
push ecx
push 2
push 0
push ebp
call fcn.0049b900
add esp, 0x18
jmp 0x49c36e
push str.Error_reading_media_information.
push 0x102
call fcn.004a6ea0
push eax
push 1
call fcn.004a3640
add esp, 0x10
jmp 0x49c36e
mov eax, dword [0x594ce0]
push eax
push 0x11c
push str.Error_writing_data.
push 0x14a
call fcn.004a6ea0
add esp, 8
push eax
push str._s___d__08x_
push 1
call fcn.004a3640
add esp, 0x14
jmp 0x49c36e
mov eax, dword [0x594cec]
test eax, eax
jne 0x49c36e
push 0
push 1
push 0
push ebp
call fcn.004980b0
add esp, 0x10
jmp 0x49c36e
test eax, eax
jne 0x49c36a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
inc ecx
push ecx
push 1
push 0
push edx
call fcn.004980b0
add esp, 0x10
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push edx
call fcn.00487ea0
mov eax, dword [0x5362ec]
add esp, 4
cmp eax, 1
jne 0x49c452
mov eax, dword [0x594cf0]
test eax, eax
je 0x49c452
mov edi, dword [esp + 0x28]
test edi, edi
je 0x49c3cb
test esi, esi
je 0x49c3b6
mov eax, dword [esi + 0x3b56c]
test eax, eax
je 0x49c3b6
mov dword [esi + 0x3b578], 0x930
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x48]
push ecx
push str.d:_testTestBurn.BIN
call fcn.00434e60
add esp, 8
mov edx, dword [0x594cf0]
push edx
call fcn.00487eb0
add esp, 4
mov eax, edi
mov dword [0x594cf0], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [0x594ce0]
add ecx, edx
push eax
push ecx
push 0x14b
push str.Error_writing_data.
push 0x14a
call fcn.004a6ea0
add esp, 8
push eax
push 0x52da48
push 1
call fcn.004a3640
mov eax, dword [0x594cec]
add esp, 0x18
test eax, eax
jne 0x49c36a
mov eax, dword [esp + 0x24]
inc eax
push eax
push 1
push 0
push edi
jmp 0x49c362
push str.Synchronizing_cache_failed.
push 0x165
jmp 0x49c2f4
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret