Function at 0x464860
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4350
call fcn.004cd140
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push 0x4018
mov ebx, ecx
mov dword [ebp - 0x4278], eax
xor eax, eax
lea ecx, [ebp - 0x4230]
push edi
push ecx
mov dword [ebp - 0x426c], edi
mov dword [ebp - 0x4268], eax
mov dword [ebp - 0x4264], eax
mov dword [ebp - 0x4234], edi
call fcn.004c5470
add esp, 0xc
push 0x4c
lea edx, [ebp - 0x42c8]
push edi
push edx
mov dword [ebp - 0x42cc], edi
call fcn.004c5470
add esp, 0xc
push 3
push ebx
lea ecx, [ebp - 0x4350]
lea eax, [ebp - 0x434c]
mov dword [ebp - 0x4248], edi
mov dword [ebp - 0x425c], edi
push ecx
mov dword [ebp - 0x423c], edi
mov dword [ebp - 0x4254], edi
mov dword [ebp - 0x4274], 0xffffffff
mov dword [ebp - 0x4240], edi
mov dword [ebp - 0x4270], edi
mov dword [ebp - 0x424c], fcn.0045f2b0
mov dword [ebp - 0x4248], fcn.004702b0
mov dword [ebp - 0x4260], fcn.0045f2b0
mov dword [ebp - 0x425c], fcn.004702b0
mov dword [ebp - 0x4350], eax
call fcn.00464c80
mov edx, dword [ebp - 0x4350]
push edx
lea eax, [ebp - 0x4264]
call fcn.0045fee0
mov ebx, eax
mov eax, dword [ebp - 0x4350]
lea ecx, [ebp - 0x434c]
add esp, 4
cmp eax, ecx
je 0x46496f
push eax
call fcn.004c2160
add esp, 4
cmp ebx, edi
jne 0x464aaa
lea eax, [ebp - 0x426c]
call fcn.00460090
lea eax, [ebp - 0x4234]
call fcn.00462550
lea edx, [ebp - 0x426c]
mov dword [ebp - 0x4224], edx
call fcn.00462570
call fcn.0045f350
lea eax, [ebp - 0x42cc]
call fcn.00460300
lea edx, [ebp - 0x4260]
lea edi, [ebp - 0x424c]
lea eax, [ebp - 0x4234]
lea ebx, [ebp - 0x42cc]
call fcn.00462100
mov dword [ebp - 0x4238], eax
test eax, eax
jne 0x464aa2
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 0x42b0], ebx
jbe 0x464a8b
mov dword [ebp - 0x4244], ebx
jmp 0x4649f3
xor ebx, ebx
push 0x206
lea ecx, [ebp - 0x212]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x214], ax
call fcn.004c5470
mov edx, dword [ebp - 0x4278]
add esp, 0xc
push edx
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.004c4012
add esp, 0xc
xor ecx, ecx
mov edx, esi
lea eax, [ebp - 0x42cc]
mov dword [ebp - 0x4250], ebx
mov dword [ebp - 0x4258], ebx
call fcn.004615f0
mov edi, eax
cmp edi, dword [ebp - 0x4254]
jbe 0x464ae9
mov ecx, dword [ebp - 0x423c]
push ecx
push ebx
call fcn.004702b0
lea edx, [edi + edi]
push edx
push ebx
mov dword [ebp - 0x4254], edi
call fcn.0045f2b0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x423c], edi
cmp edi, ebx
jne 0x464aef
mov dword [ebp - 0x4238], 1
mov eax, dword [ebp - 0x4240]
push eax
lea ecx, [ebp - 0x424c]
push ecx
call dword [ebp - 0x4248]
add esp, 8
mov ebx, dword [ebp - 0x4238]
xor edi, edi
lea eax, [ebp - 0x424c]
lea ecx, [ebp - 0x42cc]
call fcn.00460320
mov edx, dword [ebp - 0x423c]
push edx
push edi
call fcn.004702b0
add esp, 8
lea esi, [ebp - 0x4264]
call fcn.0045ff00
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x423c]
mov ecx, edi
mov edx, esi
lea eax, [ebp - 0x42cc]
call fcn.004615f0
mov eax, edi
lea ecx, [ebp - 0x214]
call fcn.004647f0
mov eax, dword [ebp - 0x42bc]
mov ecx, dword [ebp - 0x4244]
cmp byte [ecx + eax + 0x19], 0
lea edi, [ecx + eax + 0x19]
mov dword [ebp - 0x427c], edi
jne 0x464b7e
lea edx, [ebp - 0x4260]
push edx
lea eax, [ebp - 0x424c]
push eax
lea ecx, [ebp - 0x4258]
push ecx
lea edx, [ebp - 0x4250]
push edx
lea eax, [ebp - 0x4270]
push eax
lea ecx, [ebp - 0x4240]
push ecx
lea edx, [ebp - 0x4274]
push edx
push esi
lea eax, [ebp - 0x4234]
push eax
lea ecx, [ebp - 0x42cc]
push ecx
call fcn.00462120
add esp, 0x28
mov dword [ebp - 0x4238], eax
cmp eax, ebx
jne 0x464a8b
cmp word [ebp - 0x214], 0
je 0x464bd7
lea edi, [ebp - 0x214]
mov edi, edi
movzx eax, word [edi]
cmp ax, 0x2f
je 0x464ba3
mov edx, 0x2f2f
cmp ax, dx
jne 0x464bbe
xor eax, eax
push eax
lea ecx, [ebp - 0x214]
push ecx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
mov word [edi], dx
inc ebx
cmp word [ebp + ebx*2 - 0x214], 0
lea edi, [ebp + ebx*2 - 0x214]
jne 0x464b90
mov edi, dword [ebp - 0x427c]
cmp byte [edi], 0
lea eax, [ebp - 0x214]
je 0x464bed
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x464c10
mov edx, dword [ebp - 0x4240]
mov ecx, dword [ebp - 0x4250]
mov edi, dword [ebp - 0x4258]
add ecx, edx
push ecx
call fcn.00464800
add esp, 4
mov dword [ebp - 0x4238], eax
cmp dword [ebp - 0x4238], 0
jne 0x464a8b
add dword [ebp - 0x4244], 0x20
inc esi
cmp esi, dword [ebp - 0x42b0]
jb 0x4649f1
jmp 0x464a8b