Function at 0x40a060
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44af3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push esi
lea ecx, [ebp - 0xb8]
call fcn.00408b10
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004085d0
cmp dword [eax + 0x14], 0x10
jb 0x40a0a1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40a0dc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a0d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3e5
push edx
push ecx
call fcn.0041f5bc
add esp, 8
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x463db8
call fcn.00419ff0
lea ecx, [ebp - 0xd0]
call fcn.00405210
add esp, 0x18
push eax
push 0x459f38
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0x464388
call fcn.00419ff0
lea ecx, [ebp - 0x28]
call fcn.00405210
add esp, 0x18
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push 0x464280
call fcn.00419ff0
lea ecx, [ebp - 0xa0]
call fcn.00405210
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.0041aa10
add esp, 4
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.0041a910
add esp, 4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.0041aa10
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0041abe0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.0041a910
add esp, 4
call fcn.00406da0
mov edx, dword [ebp - 0x2c]
add esp, 0x18
cmp edx, 0x10
jb 0x40a1e5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ea
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40a22b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a221
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ea
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x40a271
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a267
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ea
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x40a2ba
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ea
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x40a309
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ea
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp edx, 0x10
jb 0x40a358
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a34e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ea
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a3a0
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a396
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ea
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x40a3d6
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ef
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
call fcn.00438cc7
call fcn.00438cc7
int3