Function at 0x407020
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.00405980
lea ecx, [ebp - 0x38]
call fcn.00405420
cmp dword [eax + 0x14], 0x10
jb 0x40704c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x407087
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40707d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073be
push edx
push ecx
call fcn.0041541e
add esp, 8
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4322ac
call fcn.00413b00
lea ecx, [ebp - 0x38]
call fcn.00402ac0
add esp, 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4321bc
call fcn.00413b00
lea ecx, [ebp - 0xb0]
call fcn.00402ac0
add esp, 0x1c
lea ecx, [ebp - 0x98]
mov edx, eax
call fcn.004140a0
add esp, 4
lea ecx, [ebp - 0x80]
mov edx, eax
call fcn.00413fb0
add esp, 4
lea ecx, [ebp - 0x68]
mov edx, eax
call fcn.004140a0
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 0x407119
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x407111
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x407130
push 1
push 0x42eef4
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push 1
call fcn.004145b0
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 0x431d0c
call fcn.00413b00
lea ecx, [ebp - 0xc8]
call fcn.00402ac0
push eax
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.00413fb0
add esp, 0x1c
call fcn.00403c00
mov edx, dword [ebp - 0x3c]
add esp, 0x18
cmp edx, 0x10
jb 0x4071bb
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4071b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073c3
push edx
push ecx
call fcn.0041541e
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 0x407201
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4071f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073c3
push edx
push ecx
call fcn.0041541e
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 0x407247
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40723d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073c3
push edx
push ecx
call fcn.0041541e
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 0x407293
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407289
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073c3
push edx
push ecx
call fcn.0041541e
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 0x4072e8
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4072de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073c3
push edx
push ecx
call fcn.0041541e
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 0x407337
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40732d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073c3
push edx
push ecx
call fcn.0041541e
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 0x40737f
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407375
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073c3
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x4073af
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4073a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073c8
push edx
push ecx
call fcn.0041541e
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414dac
mov esp, ebp
pop ebp
ret
call fcn.0041886c
call fcn.0041886c
call fcn.0041886c
int3