Function at 0x410f62
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c0
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x8b0], ecx
xor ecx, ecx
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 0x8a4], ecx
push edi
mov edi, ecx
test esi, esi
je 0x41156d
test eax, eax
je 0x41156d
cmp byte [eax], cl
jne 0x410fb9
push ecx
push ecx
push ecx
xor edx, edx
push ecx
inc edx
or ecx, 0xffffffff
call fcn.0043c21c
add esp, 0x10
mov ecx, esi
jmp 0x4114ec
xor esi, esi
cmp dword [0x4dc5d0], esi
jne 0x411534
cmp dword [ebx], esi
mov eax, 0x4ba138
cmovne eax, dword [ebx]
push eax
mov dword [ebp - 0x8a0], eax
call fcn.004816f0
pop ecx
test eax, eax
je 0x4114ea
push dword [0x50d1a4]
call fcn.004816f0
pop ecx
push dword [ebp - 0x8a8]
mov esi, eax
call fcn.004816f0
pop ecx
push dword [ebp - 0x8a0]
add esi, eax
call fcn.004816f0
add eax, 0x1b
pop ecx
add esi, eax
push esi
push 1
call fcn.0047b53f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x411527
push dword [ebp - 0x8a0]
push dword [ebp - 0x8a8]
push dword [0x50d1a4]
push str._s_s__s
push esi
push edi
call fcn.00403163
add esp, 0x18
test eax, eax
js 0x411532
mov ecx, ebx
call fcn.004424f0
mov ecx, 0xf000
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x411077
mov byte [0x5228b0], 2
cmp byte [ebx + 4], 0
je 0x411154
cmp dword [0x50d1b4], 0
jne 0x411119
lea edx, [ebp - 0x8ac]
mov ecx, edi
call fcn.004102db
mov ecx, eax
mov dword [ebp - 0x8a0], eax
call fcn.00403761
mov esi, eax
push esi
call fcn.00489bcc
pop ecx
test esi, esi
je 0x4110bc
push esi
call fcn.004812c6
pop ecx
cmp dword [0x4dca38], 0
je 0x41110c
mov ecx, ebx
call fcn.004427c0
push edx
push eax
call fcn.00410ebe
pop ecx
pop ecx
push eax
mov ecx, ebx
call fcn.00442810
push ecx
push edx
push eax
call fcn.00410ebe
add esp, 0xc
mov ecx, ebx
push eax
call fcn.00442850
push edx
push eax
call fcn.00410ebe
mov esi, dword [ebp - 0x8a0]
mov edx, eax
pop ecx
pop ecx
mov ecx, esi
call fcn.00410f04
pop ecx
pop ecx
jmp 0x411112
mov esi, dword [ebp - 0x8a0]
push esi
call fcn.004812c6
pop ecx
mov ecx, ebx
call fcn.00443530
mov esi, eax
test esi, esi
je 0x4114e1
push dword [0x50d1a4]
call fcn.004816f0
pop ecx
mov ecx, dword [ebp - 0x8b0]
add eax, edi
push eax
mov edx, esi
call fcn.00410f62
pop ecx
test eax, eax
jne 0x411532
jmp 0x4114e1
mov eax, dword [ebx + 0x64]
lea ecx, [ebp - 0x894]
mov esi, dword [ebx + 0x60]
mov edx, dword [ebp - 0x8a0]
push ecx
mov ecx, dword [ebp - 0x8a8]
push edi
push eax
push esi
mov dword [ebp - 0x89c], esi
mov dword [ebp - 0x898], eax
call fcn.00410359
add esp, 0x10
test eax, eax
jne 0x4114e1
push dword [ebp - 0x898]
mov ecx, edi
push esi
call fcn.00410dcf
pop ecx
pop ecx
xor esi, esi
cmp byte [ebp + esi - 0x88f], 0
je 0x411208
cmp dword [esi*4 + 0x4dca3c], 0
je 0x411208
push dword [esi*4 + 0x4b085c]
lea eax, [ebp - 0x8c]
push 0x4da358
push str.rufus_files
push str._s_syslinux__s__s
push 0x80
push eax
call fcn.00403163
add esp, 0x14
mov byte [ebp - 0xd], 0
mov edx, edi
lea ecx, [ebp - 0x8c]
call fcn.00410287
pop ecx
test eax, eax
jne 0x4112bf
call fcn.0042fc51
push eax
push str.__Could_not_replace_file:__s
call fcn.0042ed57
pop ecx
pop ecx
inc esi
cmp esi, 2
jb 0x41119e
lea edx, [ebp - 0x8ac]
mov ecx, edi
call fcn.004102db
cmp dword [ebp - 0x8ac], 0
mov esi, eax
jne 0x411233
push esi
push str.__File_name_sanitized_to__s
call fcn.0042ed57
pop ecx
pop ecx
push dword [ebp - 0x898]
mov ecx, esi
push dword [ebp - 0x89c]
sub esp, 0x10
call fcn.0043050d
add esp, 0x18
mov dword [ebp - 0x8a4], eax
cmp eax, 0xffffffff
jne 0x4112ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x898], eax
call fcn.0042fc51
push eax
push str.__Unable_to_create_file:__s
call fcn.0042ed57
mov eax, dword [ebp - 0x898]
pop ecx
pop ecx
cmp eax, 5
je 0x41128d
cmp eax, 6
jne 0x411534
lea ecx, [esi + 3]
mov eax, str._NULL_
test ecx, ecx
push str.autorun.inf
cmovne eax, ecx
push eax
call fcn.00481660
pop ecx
pop ecx
test eax, eax
jne 0x411534
push str.__NOTE:_This_is_usually_caused_by_a_poorly_designed_security_solution._See_https:__goo.gl_QTobxX._r_n__This_file_will_be_skipped_for_now__but_you_should_really_look_into_using_a_SMARTER_antivirus_solution.
call fcn.0042ed57
pop ecx
jmp 0x41142a
lea ecx, [ebp - 0x8c]
call fcn.0042cf39
test eax, eax
mov edx, 0x4b6c78
mov ecx, 0x4b6c74
cmove ecx, edx
push ecx
push str.__Replaced_with_local_version__s
call fcn.0042ed57
pop ecx
jmp 0x4114e9
cmp dword [ebp - 0x898], 0
jl 0x41142a
jg 0x411306
cmp dword [ebp - 0x89c], 0
jbe 0x41142a
cmp dword [0x4dc5d0], 0
jne 0x411534
push 0x800
lea eax, [ebp - 0x88c]
push 0
push eax
call fcn.00478bc0
pop ecx
pop ecx
lea edx, [ebp - 0x88c]
mov ecx, ebx
call fcn.004428a0
mov dword [ebp - 0x8b4], eax
cdq
pop ecx
mov ecx, eax
mov eax, edx
mov dword [ebp - 0x8b8], ecx
mov dword [ebp - 0x8bc], eax
test eax, eax
jl 0x41150a
jg 0x41135f
test ecx, ecx
jb 0x41150a
cmp dword [ebp - 0x898], eax
jg 0x411373
mov eax, dword [ebp - 0x89c]
jl 0x411379
cmp eax, ecx
jb 0x411379
mov eax, dword [ebp - 0x8b4]
push ecx
lea ecx, [ebp - 0x8c0]
push ecx
mov ecx, dword [ebp - 0x8a4]
lea edx, [ebp - 0x88c]
push eax
call fcn.0043032f
add esp, 0xc
add dword [0x4d97b0], 1
adc dword [0x4d97b4], 0
test eax, eax
je 0x4114fd
mov ecx, dword [ebp - 0x89c]
sub ecx, dword [ebp - 0x8b8]
mov eax, dword [ebp - 0x8bc]
sbb dword [ebp - 0x898], eax
mov edx, dword [0x50d260]
mov eax, edx
and eax, 0x7f
mov dword [ebp - 0x89c], ecx
add edx, 1
mov dword [0x50d260], edx
adc dword [0x50d264], 0
or eax, 0
jne 0x411413
push dword [0x50d25c]
push dword [0x50d258]
push dword [0x50d264]
push edx
push 7
mov edx, 0xc9f
pop ecx
call fcn.0043c21c
mov ecx, dword [ebp - 0x89c]
add esp, 0x10
cmp dword [ebp - 0x898], 0
jg 0x411306
jl 0x41142a
test ecx, ecx
jne 0x411306
cmp dword [0x4dca38], 0
je 0x41148a
mov ecx, ebx
call fcn.004427c0
push edx
push eax
call fcn.00410ebe
pop ecx
pop ecx
push eax
mov ecx, ebx
call fcn.00442810
push ecx
push edx
push eax
call fcn.00410ebe
add esp, 0xc
mov ecx, ebx
push eax
call fcn.00442850
push edx
push eax
call fcn.00410ebe
pop ecx
pop ecx
push eax
push dword [ebp - 0x8a4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x41148a
call fcn.0042fc51
push eax
push str.__Could_not_set_timestamp:__s
call fcn.0042ed57
pop ecx
pop ecx
mov eax, dword [ebp - 0x8a4]
cmp eax, 0xffffffff
je 0x4114a7
test eax, eax
je 0x4114a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x8a4], 0xffffffff
add dword [0x4d97b0], 1
adc dword [0x4d97b4], 0
cmp byte [ebp - 0x894], 0
je 0x4114da
mov edx, dword [ebp - 0x8a8]
lea eax, [ebp - 0x894]
push eax
push dword [ebp - 0x8a0]
mov ecx, esi
call fcn.00410a23
pop ecx
pop ecx
push esi
call fcn.004812c6
pop ecx
push edi
call fcn.004812c6
xor edi, edi
pop ecx
mov ecx, ebx
call fcn.00443600
mov ebx, eax
test ebx, ebx
jne 0x410fc0
jmp 0x411570
call fcn.0042fc51
push eax
push str.__Error_writing_file:__s
jmp 0x41151e
push dword [0x50d1a4]
call fcn.004816f0
pop ecx
add eax, edi
push eax
push str.__Error_reading_UDF_file__s
call fcn.0042ed57
pop ecx
pop ecx
jmp 0x411534
push str.Error_allocating_file_name
call fcn.0042ed57
pop ecx
xor esi, esi
mov ecx, ebx
call fcn.004437b0
mov eax, dword [ebp - 0x8a4]
cmp eax, 0xffffffff
je 0x411551
test eax, eax
je 0x411551
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [0x4d97b0], 1
push esi
adc dword [0x4d97b4], 0
call fcn.004812c6
pop ecx
push edi
call fcn.004812c6
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret