Function at 0x407090
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.004059f0
lea ecx, [ebp - 0x38]
call fcn.00405490
cmp dword [eax + 0x14], 0x10
jb 0x4070bc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x4070f7
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4070ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40742e
push edx
push ecx
call fcn.004152ae
add esp, 8
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x432264
call fcn.00413990
lea ecx, [ebp - 0x38]
call fcn.00402910
add esp, 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x432174
call fcn.00413990
lea ecx, [ebp - 0xb0]
call fcn.00402910
add esp, 0x1c
lea ecx, [ebp - 0x98]
mov edx, eax
call fcn.00413f30
add esp, 4
lea ecx, [ebp - 0x80]
mov edx, eax
call fcn.00413e40
add esp, 4
lea ecx, [ebp - 0x68]
mov edx, eax
call fcn.00413f30
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 0x407189
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x407181
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x4071a0
push 1
push 0x42eef0
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push 1
call fcn.00414440
mov ecx, eax
movups xmm0, xmmword [ecx]
sub esp, 0x18
mov esi, esp
sub esp, 0x18
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, esp
push 0x431cf4
call fcn.00413990
lea ecx, [ebp - 0xc8]
call fcn.00402910
push eax
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.00413e40
add esp, 0x1c
call fcn.00403a50
mov edx, dword [ebp - 0x3c]
add esp, 0x18
cmp edx, 0x10
jb 0x40722b
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407221
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407433
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp edx, 0x10
jb 0x407271
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407267
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407433
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x4072b7
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4072ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407433
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x407303
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4072f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407433
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x407358
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40734e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407433
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp edx, 0x10
jb 0x4073a7
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40739d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407433
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp edx, 0x10
jb 0x4073ef
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4073e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407433
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40741f
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407415
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407438
push edx
push ecx
call fcn.004152ae
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414c3c
mov esp, ebp
pop ebp
ret
call fcn.004186fc
call fcn.004186fc
call fcn.004186fc
int3