Function at 0x407170
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00405ad0
lea ecx, [ebp - 0x34]
call fcn.00405570
cmp dword [eax + 0x14], 0x10
jb 0x40719c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x4071d7
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4071cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074bb
push edx
push ecx
call fcn.0041535e
add esp, 8
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x431d0c
call fcn.00413990
lea ecx, [ebp - 0xc4]
call fcn.004029f0
add esp, 0x18
push eax
push 0x42ef00
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4322ac
call fcn.00413990
lea ecx, [ebp - 0x34]
call fcn.004029f0
add esp, 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4321bc
call fcn.00413990
lea ecx, [ebp - 0xac]
call fcn.004029f0
add esp, 0x1c
lea ecx, [ebp - 0x94]
mov edx, eax
call fcn.00413f30
add esp, 4
lea ecx, [ebp - 0x7c]
mov edx, eax
call fcn.00413e40
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, eax
call fcn.00413f30
add esp, 4
lea ecx, [ebp - 0x4c]
mov edx, eax
call fcn.004140c0
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00413e40
add esp, 4
call fcn.00403b30
mov edx, dword [ebp - 0x38]
add esp, 0x18
cmp edx, 0x10
jb 0x4072be
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4072b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074c0
push edx
push ecx
call fcn.0041535e
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 0x407304
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4072fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074c0
push edx
push ecx
call fcn.0041535e
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 0x40734a
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407340
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074c0
push edx
push ecx
call fcn.0041535e
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 0x407393
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407389
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074c0
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp edx, 0x10
jb 0x4073e5
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4073db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074c0
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
cmp edx, 0x10
jb 0x407434
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40742a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074c0
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x40747c
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407472
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074c0
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x4074ac
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4074a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074c5
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
call fcn.004187ac
call fcn.004187ac
int3