Function at 0x4201a4
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x82
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x220]
push ebx
xor ebx, ebx
sub esp, 0x28c
cmp dword [ebp + 8], 0
mov dword [ebp - 0x22c], 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x230], eax
je 0x4208cb
test eax, eax
jne 0x420347
mov edx, dword [0x525a68]
test edx, edx
je 0x4208eb
cmp dword [0x491b94], 1
sbb eax, eax
and eax, 0xfffffff9
dec eax
cmp dword [0x491b90], 1
mov dword [esp], edx
sbb ecx, ecx
and ecx, 0xfffffff8
dec ecx
and eax, ecx
movzx eax, al
mov dword [esp + 4], eax
call fcn.00482048
mov dword [ebp - 0x254], eax
test eax, eax
jne 0x420247
mov eax, dword [0x525a68]
mov dword [esp], str.Could_not_open_image__s_as_an_ISO_9660_file_system
mov dword [esp + 4], eax
jmp 0x420276
mov dword [esp + 4], 0x51324c
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call fcn.004821a5
mov dword [ebp - 0x25c], eax
test eax, eax
jne 0x42028e
mov dword [esp + 4], 0x51324c
mov dword [esp], str.Could_not_get_ISO_9660_file_information_for_file__s_n
call fcn.0043efa9
xor ecx, ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x25c], ecx
jmp 0x4208d4
mov dword [esp], 0x8010
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x24c], eax
test eax, eax
je 0x4208d4
mov ecx, dword [ebp - 0x254]
xor edx, edx
mov dword [eax], ecx
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x24c]
mov eax, dword [eax + 0xd4]
mov dword [ecx + 8], edx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], edx
mov dword [esp + 8], eax
mov eax, ecx
add eax, 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call fcn.00481457
cmp eax, 0x8000
mov eax, dword [ebp - 0x24c]
je 0x42031d
mov eax, dword [eax + 4]
mov dword [esp + 4], 0x51324c
mov dword [esp], str.Error_reading_ISO_9660_file__s_at_LSN__lu_n
mov dword [esp + 8], eax
call fcn.0043efa9
jmp 0x4208d4
mov dword [esp + 4], eax
mov dword [esp], 0x41d1d9
call fcn.0047dc14
mov dword [0x513448], eax
test eax, eax
jne 0x42035b
mov dword [esp], str.FAT_access_error
call fcn.0043efa9
jmp 0x4208d4
xor eax, eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x254], eax
xor eax, eax
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x230]
lea edi, [ebp - 0x220]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [0x513448]
mov dword [esp], eax
call fcn.0047df91
mov dword [ebp - 0x230], eax
test eax, eax
js 0x42082a
cmp word [ebp - 0x220], 0
jne 0x4203bb
mov dword [esp + 4], 1
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov esi, eax
jmp 0x420457
xor eax, eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov dword [esp + 8], edi
mov dword [esp], 0xfde9
mov dword [ebp - 0x258], eax
call eax
sub esp, 0x20
mov ebx, eax
cmp eax, 1
jle 0x420455
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov esi, eax
test eax, eax
je 0x420455
mov dword [esp + 8], edi
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], 0xfde9
mov eax, dword [ebp - 0x258]
call eax
sub esp, 0x20
cmp ebx, eax
je 0x420457
mov dword [esp], esi
call sub.msvcrt.dll_free
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov ebx, eax
xor eax, eax
test esi, esi
je 0x420472
mov dword [esp], esi
call sub.msvcrt.dll_strlen
lea eax, [eax + ebx + 2]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ebx, eax
test esi, esi
je 0x420488
test eax, eax
jne 0x420499
mov dword [esp], str.Could_not_allocate_buffer
call fcn.0043efa9
jmp 0x420843
mov eax, dword [ebp + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], 0x49e3b0
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov eax, ebx
test byte [ebp - 0x1c], 0x10
je 0x420567
call fcn.0041d93b
mov edx, eax
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x258], edx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edi, eax
push edx
push edx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, dword [ebp - 0x258]
test edx, edx
je 0x420514
mov dword [ebp - 0x258], eax
mov dword [esp], edx
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x258]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push eax
test edi, edi
jne 0x420548
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x420548
call fcn.0043f53d
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], str.Could_not_create_directory__s:__s_n
jmp 0x42065c
mov eax, dword [ebp - 0x230]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004201a4
test eax, eax
jne 0x420816
jmp 0x420843
call fcn.0041d93b
mov dword [esp], eax
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
mov dword [ebp - 0x258], eax
test edi, edi
je 0x42058a
mov dword [esp], edi
call sub.msvcrt.dll_free
cmp dword [ebp - 0x258], 0
jne 0x420816
xor eax, eax
mov dword [ebp - 0x237], eax
mov dword [ebp - 0x234], eax
mov dword [esp], esi
call sub.msvcrt.dll_strlen
xor edx, edx
mov dword [ebp - 0x260], edx
cmp eax, 4
jbe 0x4205dc
lea eax, [esi + eax - 5]
mov dword [esp + 4], str..conf
mov dword [esp], eax
call sub.msvcrt.dll__stricmp_1
test eax, eax
sete al
movzx eax, al
mov dword [ebp - 0x260], eax
mov al, byte [ebp - 0x260]
mov byte [ebp - 0x236], al
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
call fcn.0043f9fb
mov dword [esp + 8], 0x51324c
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], str.Extracting:__s__from__s___s_
call fcn.0043efa9
movzx eax, byte [ebp - 0x1c]
mov ecx, 1
mov dword [esp], 2
mov edx, 0xc0000000
mov dword [esp + 4], eax
mov eax, ebx
call fcn.0041da6e
mov dword [ebp - 0x250], eax
inc eax
jne 0x420666
call fcn.0043f53d
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], 0x49ea8c
call fcn.0043efa9
jmp 0x42082a
mov eax, dword [ebp - 0x230]
xor edi, edi
mov dword [esp + 4], eax
mov eax, dword [0x513448]
mov dword [esp], eax
call fcn.0047d990
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x268]
mov edx, dword [ebp - 0x264]
mov ecx, 0xfffffffd
add eax, 0xffffffff
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
adc edx, 0xffffffff
mov dword [ebp - 0x26c], edx
cmp ecx, eax
mov eax, 0
sbb eax, dword [ebp - 0x26c]
jb 0x4207c9
cmp edi, dword [ebp - 0x20]
jae 0x4207c9
mov eax, dword [ebp - 0x268]
mov edx, dword [ebp - 0x264]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [0x513448]
mov dword [esp], eax
call fcn.0047d8c5
mov edx, eax
test eax, eax
jne 0x420706
mov dword [0x4e2900], 0xc003001b
jmp 0x42084b
cmp dword [0x4e2900], 0
js 0x42084b
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x492a80]
sub eax, edi
cmp eax, ecx
cmova eax, ecx
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x23c], eax
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x250]
mov dword [esp], eax
call fcn.00440072
test eax, eax
je 0x42076d
mov eax, dword [ebp - 0x20]
mov edx, dword [0x492a80]
sub eax, edi
cmp eax, edx
cmova eax, edx
cmp eax, dword [ebp - 0x23c]
je 0x420788
call fcn.0043f53d
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], 0x49eaa6
call fcn.0043efa9
jmp 0x4207c9
mov edx, dword [ebp - 0x264]
add edi, eax
mov eax, dword [ebp - 0x268]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [0x513448]
mov dword [esp], eax
call fcn.0047d9ed
mov dword [ebp - 0x268], eax
mov eax, dword [0x513448]
mov dword [ebp - 0x264], edx
mov dword [esp], eax
call fcn.0047d897
jmp 0x42068b
mov eax, dword [ebp - 0x250]
dec eax
cmp eax, 0xfffffffd
ja 0x4207f1
mov eax, dword [ebp - 0x250]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
mov dword [ebp - 0x250], 0xffffffff
jmp 0x4207f9
xor eax, eax
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x260], 0
je 0x420816
lea eax, [ebp - 0x237]
xor ecx, ecx
xor edx, edx
mov dword [esp], eax
mov eax, ebx
call fcn.0041d311
mov dword [esp], ebx
xor ebx, ebx
call sub.msvcrt.dll_free
mov dword [esp], esi
xor esi, esi
call sub.msvcrt.dll_free
cmp dword [ebp - 0x230], 0
jns 0x420367
mov dword [ebp - 0x258], 1
jmp 0x42084b
xor edi, edi
mov dword [ebp - 0x258], edi
cmp dword [ebp + 0xc], 0
jne 0x420894
mov eax, dword [0x513448]
test eax, eax
je 0x42086a
mov dword [esp], eax
call fcn.0047dde0
xor ecx, ecx
mov dword [0x513448], ecx
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call fcn.004804b8
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call fcn.004810fb
mov eax, dword [ebp - 0x24c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x250]
dec eax
cmp eax, 0xfffffffd
ja 0x4208b0
mov eax, dword [ebp - 0x250]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edx
mov dword [esp], esi
call sub.msvcrt.dll_free
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x258]
mov dword [ebp + 0xc], eax
jmp 0x4208eb
mov dword [ebp + 0xc], 0xffffffff
jmp 0x4208eb
xor eax, eax
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x250], eax
jmp 0x420851
mov eax, dword [ebp + 0xc]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret