Function at 0x406d10
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
lea ecx, [ebp - 0xac]
push esi
call fcn.00405770
lea ecx, [ebp - 0x1c]
call fcn.004052b0
cmp dword [eax + 0x14], 0x10
jb 0x406d35
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x406d70
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406d66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407091
push edx
push ecx
call fcn.004142b0
add esp, 8
lea eax, [ebp - 0xac]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4362cc
call fcn.00412e40
lea ecx, [ebp - 0x1c]
call fcn.00402b70
add esp, 0x1c
push eax
lea eax, [ebp - 0xac]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4361c4
call fcn.00412e40
lea ecx, [ebp - 0x94]
call fcn.00402b70
add esp, 0x1c
lea ecx, [ebp - 0x7c]
mov edx, eax
call fcn.004133e0
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, eax
call fcn.004132f0
add esp, 4
lea ecx, [ebp - 0x4c]
mov edx, eax
call fcn.004133e0
mov ecx, eax
add esp, 4
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x406e05
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x406dfd
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x406e1c
push 1
push 0x432a20
mov byte [ebp - 4], 0
push dword [ebp - 4]
push 1
call fcn.004137c0
mov ecx, eax
movups xmm0, xmmword [ecx]
sub esp, 0x18
mov esi, esp
sub esp, 0x18
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, esp
push 0x435d14
call fcn.00412e40
lea ecx, [ebp - 0xc4]
call fcn.00402b70
push eax
lea edx, [ebp - 0x34]
mov ecx, esi
call fcn.004132f0
add esp, 0x1c
call fcn.00403c40
mov edx, dword [ebp - 0x20]
add esp, 0x18
cmp edx, 0x10
jb 0x406ea7
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406e9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407096
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x406eed
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ee3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407096
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x406f33
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407096
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x406f79
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407096
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x406fc2
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406fb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407096
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp edx, 0x10
jb 0x40700e
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407004
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407096
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x407056
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40704c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407096
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x40708c
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407082
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40709b
push edx
push ecx
call fcn.004142b0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
int3