Function at 0x41c770
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x210]
push 0x208
mov edi, edx
mov dword [ebp - 0x218], ebx
mov esi, ecx
mov dword [ebp - 0x250], edi
push ebx
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x224], ebx
call fcn.004ab0f0
xor eax, eax
mov dword [ebp - 0x260], edi
xor ecx, ecx
mov dword [ebp - 0x25c], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x258], xmm0
mov dword [ebp - 0x248], eax
test esi, esi
jne 0x41c808
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x41c950
mov ecx, dword [0x55a75c]
test ecx, ecx
jne 0x41c82d
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
cmp dword [0x552750], eax
mov edi, 0xff
mov eax, 0xf8
setne dl
cmp dword [0x551f8c], ebx
cmovne eax, edi
sub esp, 8
lea edx, [edx*8 + 0xf7]
and dl, al
call fcn.00468040
add esp, 8
mov dword [ebp - 0x230], eax
test eax, eax
jne 0x41c87f
push dword [0x55a75c]
push str.Could_not_open_image__s_as_an_ISO_9660_file_system
call fcn.0044b0b0
add esp, 8
jmp 0x41d0f5
push 0x5a2fac
push ecx
mov ecx, eax
call fcn.00469e80
add esp, 8
mov dword [ebp - 0x22c], eax
test eax, eax
jne 0x41c8b0
push 0x5a2fac
push str.Could_not_get_ISO_9660_file_information_for_file__s_n
call fcn.0044b0b0
add esp, 8
jmp 0x41d0f5
push 0x8010
call fcn.004d122c
mov edi, eax
add esp, 4
mov dword [ebp - 0x248], edi
test edi, edi
je 0x41d0f5
mov eax, dword [ebp - 0x22c]
lea edx, [edi + 0x10]
mov ecx, dword [ebp - 0x230]
push 0x800
mov dword [edi], ecx
mov eax, dword [eax + 0xd4]
push 0x10
push eax
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00468ba0
add esp, 0xc
cmp eax, 0x8000
je 0x41c91e
push dword [edi + 4]
push 0x5a2fac
push str.Error_reading_ISO_9660_file__s_at_LSN__lu_n
call fcn.0044b0b0
add esp, 0xc
jmp 0x41d0f5
mov edx, edi
mov ecx, 0x41c2f0
call fcn.0047a340
mov dword [0x58bad8], eax
test eax, eax
jne 0x41c950
push str.FAT_access_error
call fcn.0044b0b0
add esp, 4
jmp 0x41d0f5
lea eax, [ebp - 0x210]
push eax
lea edx, [ebp - 0x260]
call fcn.0047ac20
add esp, 4
mov dword [ebp - 0x260], eax
test eax, eax
js 0x41cef4
cmp word [ebp - 0x210], 0
jne 0x41c9a9
push 1
push 1
call fcn.004b6706
mov ecx, esi
mov edi, eax
add esp, 8
mov dword [ebp - 0x218], edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c996
sub ecx, edx
test edi, edi
je 0x41d0b9
jmp 0x41ca1d
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
cmp esi, 1
jle 0x41d09b
push 1
push esi
call fcn.004b6706
mov edi, eax
add esp, 8
test edi, edi
je 0x41d07f
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
jne 0x41d05a
mov ecx, dword [ebp - 0x21c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ca14
sub ecx, edx
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41ca22
sub edx, esi
lea eax, [edx + 2]
add eax, ecx
push eax
call fcn.004d122c
mov ebx, eax
mov dword [ebp - 0x218], edi
add esp, 4
mov dword [ebp - 0x214], ebx
test ebx, ebx
je 0x41d042
mov ecx, dword [ebp - 0x21c]
mov edx, ebx
sub edx, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x41ca60
lea edi, [ebx - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x41ca70
mov ax, word [0x52a9b0]
mov edx, dword [ebp - 0x218]
mov esi, edx
mov word [edi], ax
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x41ca90
sub edx, esi
lea edi, [ebx - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41caa0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test byte [ebp - 0xc], 0x10
je 0x41cbfd
cmp byte [ebx], al
jne 0x41caf3
push 2
push 1
call fcn.004b6706
add esp, 8
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ebx, eax
test esi, esi
je 0x41cba4
jmp 0x41cb9b
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp edi, 1
jg 0x41cb29
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov ebx, eax
jmp 0x41cbaa
push 2
push edi
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cb50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov ebx, eax
jmp 0x41cbaa
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x41cb87
push esi
call fcn.004d1211
add esp, 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov ebx, eax
jmp 0x41cbaa
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ebx, eax
push esi
call fcn.004d1211
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x41cbdd
call esi
cmp eax, 0xb7
je 0x41cbdd
call fcn.0044b6b0
mov ebx, dword [ebp - 0x214]
push eax
push ebx
push str.Could_not_create_directory__s:__s_n
call fcn.0044b0b0
add esp, 0xc
jmp 0x41cef4
mov ebx, dword [ebp - 0x214]
mov ecx, ebx
mov edx, dword [ebp - 0x260]
call fcn.0041c770
test eax, eax
je 0x41d0e8
jmp 0x41ced5
mov esi, dword [ebp - 0x218]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x240], eax
mov word [ebp - 0x23c], ax
mov byte [ebp - 0x23a], al
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cc20
sub ecx, edx
cmp ecx, 4
jbe 0x41cc4c
lea eax, [esi - 5]
add eax, ecx
push str..conf
push eax
call fcn.004e7afe
add esp, 8
mov byte [ebp - 0x23f], 1
test eax, eax
je 0x41cc53
mov byte [ebp - 0x23f], 0
cmp dword [0x55a760], 0
mov eax, 0x52ad5a
mov ecx, dword [ebp - 0x10]
mov esi, 0x5393fc
cmove esi, eax
xor edx, edx
call fcn.004a9840
mov ecx, dword [0x55a740]
xor eax, eax
movsd xmm1, qword [0x549a90]
movsd xmm2, qword [0x549a18]
movsd qword [ebp - 0x238], xmm0
comisd xmm1, xmm0
ja 0x41cca9
mulsd xmm0, xmm2
inc eax
movsd qword [ebp - 0x238], xmm0
cmp eax, 5
jl 0x41cc91
test eax, eax
jne 0x41ccd0
push dword [ecx + 0x50]
cvttsd2si eax, xmm0
push esi
push eax
push esi
push str._s_d_s__s
push 0x20
push 0x59d920
call fcn.004050d0
add esp, 0x1c
jmp 0x41cd4d
push dword [ecx + eax*4 + 0x50]
fld qword [ebp - 0x238]
push esi
sub esp, 8
movsd qword [esp], xmm0
mulsd xmm0, qword [0x549a70]
push esi
sub esp, 8
movsd qword [ebp - 0x228], xmm0
fstp qword [esp]
call fcn.00511880
movsd xmm1, qword [ebp - 0x228]
add esp, 8
fstp qword [ebp - 0x238]
movsd xmm0, qword [ebp - 0x238]
mov ecx, str._s_0.1f_s__s
mulsd xmm0, qword [0x549a70]
mov eax, str._s_0.0f_s__s
subsd xmm1, xmm0
movsd xmm0, qword [0x549a40]
comisd xmm0, xmm1
cmovbe eax, ecx
push eax
push 0x20
push 0x59d920
call fcn.004050d0
add esp, 0x20
push 0x59d920
push 0x5a2fac
push ebx
push str.Extracting:__s__from__s___s_
mov byte [0x59d93f], 0
call fcn.0044b0b0
mov eax, dword [ebp - 0x214]
add esp, 0x10
movzx ebx, byte [ebp - 0xc]
cmp byte [eax], 0
jne 0x41cd8b
push 2
push 1
call fcn.004b6706
add esp, 8
mov esi, eax
jmp 0x41cddd
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp edi, 1
jle 0x41cddb
push 2
push edi
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x41cddb
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x214]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x41cddd
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
push 0
push ebx
push 2
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x224], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
je 0x41ce0f
push esi
call fcn.004d1211
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, 0xffffffff
jne 0x41ce3a
call fcn.0044b6b0
mov ebx, dword [ebp - 0x214]
push eax
push ebx
push str.Could_not_create__s:__s
call fcn.0044b0b0
add esp, 0xc
jmp 0x41cef4
mov eax, dword [ebp - 0x260]
xor esi, esi
mov edi, dword [0x58bad8]
test eax, eax
jne 0x41ce5b
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x41ce5b
mov ebx, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
jmp 0x41ce86
cmp eax, 2
jl 0x41cf0c
cmp eax, dword [edi + 0x14]
jge 0x41cf0c
mov ecx, dword [edi + 0x10]
cdq
add eax, 0xfffffffe
adc edx, 0xffffffff
call fcn.004a9360
mov ebx, eax
mov ecx, edx
add ebx, dword [edi + 0x30]
adc ecx, dword [edi + 0x34]
mov eax, ebx
mov dword [ebp - 0x220], ecx
or eax, ecx
jne 0x41cf18
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x41ceb7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x224], 0xffffffff
cmp byte [ebp - 0x23f], 0
je 0x41ced5
lea eax, [ebp - 0x240]
xor edx, edx
push eax
push 0
mov ecx, ebx
call fcn.004177d0
add esp, 8
push ebx
call fcn.004d1211
add esp, 4
xor ebx, ebx
push dword [ebp - 0x218]
call fcn.004d1211
add esp, 4
mov dword [ebp - 0x218], ebx
cmp dword [ebp - 0x260], 0
jl 0x41d0d6
mov esi, dword [ebp - 0x21c]
jmp 0x41c950
or ebx, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp - 0x220], ecx
test ecx, ecx
ja 0x41ce96
jb 0x41cf2b
cmp ebx, 0xffffffff
jae 0x41ce96
cmp esi, dword [ebp - 0x10]
jae 0x41ce96
push ecx
push ebx
mov ecx, edi
call fcn.0047a1e0
mov edx, eax
add esp, 8
test edx, edx
jne 0x41cf52
mov eax, 0xc003001b
mov dword [0x55a318], eax
jmp 0x41cf57
mov eax, dword [0x55a318]
test eax, eax
js 0x41d0e2
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x244]
sub ecx, esi
cmp dword [0x553334], ecx
cmovb ecx, dword [0x553334]
push ecx
push eax
mov dword [ebp - 0x244], ecx
push ecx
mov ecx, dword [ebp - 0x224]
call fcn.0044c2e0
add esp, 0xc
test eax, eax
je 0x41d023
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x244]
sub ecx, esi
cmp dword [0x553334], ecx
cmovb ecx, dword [0x553334]
cmp eax, ecx
jne 0x41d023
push dword [ebp - 0x220]
mov ecx, dword [0x58bad8]
add esi, eax
push ebx
mov dword [ebp - 0x234], esi
call fcn.0047a670
mov edi, dword [0x58bad8]
add esp, 8
mov ecx, edx
mov ebx, eax
mov dword [ebp - 0x220], ecx
mov esi, dword [edi + 0x40]
mov eax, esi
mov dword [edi + 0x40], 0
test esi, esi
je 0x41d00e
nop
mov esi, dword [esi + 8]
push eax
call fcn.004b59cf
add esp, 4
mov eax, esi
test esi, esi
jne 0x41cff0
mov edi, dword [0x58bad8]
mov ecx, dword [ebp - 0x220]
mov esi, dword [ebp - 0x234]
mov eax, ebx
or eax, ecx
jne 0x41cf18
jmp 0x41ce96
call fcn.0044b6b0
mov ebx, dword [ebp - 0x214]
push eax
push ebx
push str.Could_not_write__s:__s
call fcn.0044b0b0
add esp, 0xc
jmp 0x41ce9c
push str.Could_not_allocate_buffer
mov dword [ebp - 0x214], ebx
call fcn.0044b0b0
add esp, 4
jmp 0x41d0e8
push edi
call fcn.004d1211
mov ecx, dword [ebp - 0x21c]
add esp, 4
mov dword [ebp - 0x218], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d076
jmp 0x41d0b7
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x218], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d092
jmp 0x41d0b7
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x218], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d0b0
sub ecx, edx
lea eax, [ecx + 2]
push eax
call fcn.004d122c
add esp, 4
mov ebx, eax
push str.Could_not_allocate_buffer
call fcn.0044b0b0
add esp, 4
jmp 0x41d0e8
mov dword [ebp - 0x24c], 1
jmp 0x41d0e8
mov ebx, dword [ebp - 0x214]
cmp dword [ebp - 0x250], 0
jne 0x41d1d9
mov edi, dword [0x58bad8]
test edi, edi
je 0x41d135
mov esi, dword [edi + 0x40]
mov eax, esi
mov dword [edi + 0x40], 0
test esi, esi
je 0x41d122
nop
mov esi, dword [esi + 8]
push eax
call fcn.004b59cf
add esp, 4
mov eax, esi
test esi, esi
jne 0x41d110
push edi
call fcn.004d1211
add esp, 4
mov dword [0x58bad8], 0
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x41d15f
mov eax, dword [esi + 0x1d]
test eax, eax
je 0x41d156
push eax
call fcn.004d1211
add esp, 4
mov dword [esi + 0x1d], 0
push esi
call fcn.004d1211
add esp, 4
mov edi, dword [ebp - 0x230]
test edi, edi
je 0x41d1cb
mov esi, dword [edi + 4]
test esi, esi
je 0x41d1bb
cmp dword [esi + 0x1c], 0
je 0x41d1a2
push str.closed_source...
call fcn.00467d50
mov eax, dword [esi + 0x14]
add esp, 4
push dword [esi]
call eax
add esp, 4
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
push dword [esi]
mov eax, dword [esi + 0x18]
call eax
add esp, 4
mov dword [esi], 0
push esi
call fcn.004d1211
add esp, 4
push edi
mov dword [edi + 4], 0
call fcn.004d1211
add esp, 4
push dword [ebp - 0x248]
call fcn.004d1211
add esp, 4
mov eax, dword [ebp - 0x224]
cmp eax, 0xffffffff
je 0x41d1ef
test eax, eax
je 0x41d1ef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x218]
call fcn.004d1211
add esp, 4
push ebx
call fcn.004d1211
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x24c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret