Function at 0x40c850
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4601bc
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x482024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.0040ae60
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.0040ab10
cmp dword [eax + 0x14], 0x10
jb 0x40c89b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x40c8d6
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c8cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc1b
push edx
push ecx
call fcn.0042aeba
add esp, 8
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x482e3c
call fcn.00423520
lea ecx, [ebp - 0xd4]
call fcn.004064c0
add esp, 0x18
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0x4833dc
call fcn.00423520
lea ecx, [ebp - 0x5c]
call fcn.004064c0
add esp, 0x18
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push 0x4832bc
call fcn.00423520
lea ecx, [ebp - 0xbc]
call fcn.004064c0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00424bf0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00424af0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.00424bf0
add esp, 4
push 0x4768ec
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004233a0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00424af0
add esp, 4
call fcn.00408fe0
mov edx, dword [ebp - 0x30]
add esp, 0x18
cmp edx, 0x10
jb 0x40ca07
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc20
push edx
push ecx
call fcn.0042aeba
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x40ca4d
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc20
push edx
push ecx
call fcn.0042aeba
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x40ca96
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc20
push edx
push ecx
call fcn.0042aeba
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x40cae5
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cadb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc20
push edx
push ecx
call fcn.0042aeba
add esp, 8
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp edx, 0x10
jb 0x40cb3a
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc20
push edx
push ecx
call fcn.0042aeba
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp edx, 0x10
jb 0x40cb89
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc20
push edx
push ecx
call fcn.0042aeba
add esp, 8
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x40cbd1
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc20
push edx
push ecx
call fcn.0042aeba
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40cc01
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc25
push edx
push ecx
call fcn.0042aeba
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a843
mov esp, ebp
pop ebp
ret
call fcn.00445cee
call fcn.00445cee
call fcn.00445cee
int3