Function at 0x6739f0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x6739f8
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x673d21
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x673d38
call fcn.00404d30
mov eax, dword [0x6ec57c]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
lea ecx, [ebp - 8]
mov eax, dword [0x6ec57c]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
mov eax, dword [eax + 0x218]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x673d44
mov edx, 0x673d50
mov eax, dword [ebp - 8]
call fcn.00448ed8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.00404d30
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00673dec
mov eax, dword [ebp - 0x34]
call fcn.00405148
push eax
call sub.kernel32.dll_SetCurrentDirectoryA_1
lea eax, [ebp - 0x10]
call fcn.00409ef0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x218]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0xc]
mov dl, 1
call fcn.00491164
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x673d5c
mov edx, 0x673d68
mov eax, dword [ebp - 0xc]
call fcn.00448ed8
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
call fcn.00404d30
mov edx, dword [ebp - 0x10]
mov eax, 0x673d38
call fcn.0040528c
test eax, eax
jle 0x673b2b
jmp 0x673b1a
mov edx, dword [ebp - 0x10]
mov eax, 0x673d38
call fcn.0040528c
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.004051e8
mov edx, dword [ebp - 0x10]
mov eax, 0x673d38
call fcn.0040528c
test eax, eax
jg 0x673afe
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00405094
je 0x673b46
mov eax, dword [ebp - 8]
call fcn.00405148
push eax
call sub.kernel32.dll_SetCurrentDirectoryA_1
lea eax, [ebp - 0x40]
mov ecx, 0x673d74
mov edx, dword [ebp - 8]
call fcn.00404f9c
mov eax, dword [ebp - 0x40]
call fcn.00409bcc
test al, al
je 0x673cf9
mov dl, 1
mov eax, dword [0x41aa50]
call fcn.00403efc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
mov ecx, 0x673d74
mov edx, dword [ebp - 8]
call fcn.00404f9c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0x673d84
push dword [ebp - 0xc]
push 0x673d90
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x673cf9
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x673cb8
mov edx, dword [ebp - 0x14]
mov eax, 0x673d9c
call fcn.0040528c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x673ca7
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x673db0
call fcn.0040528c
mov ecx, eax
mov eax, dword [ebp - 0x28]
add eax, 0xb
sub ecx, eax
mov edx, dword [ebp - 0x28]
add edx, 0xb
mov eax, dword [ebp - 0x14]
call fcn.004051a8
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
inc edx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x4c]
push eax
xor ecx, ecx
mov edx, 0x673dbc
mov eax, dword [ebp - 0x1c]
call fcn.00448ed8
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x1c]
call fcn.00404d30
lea eax, [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, 0x673dcc
mov eax, dword [ebp - 0x1c]
call fcn.00448ed8
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00409540
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
call fcn.00404d30
push dword [ebp - 0x18]
push 0x673ddc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x58]
mov eax, dword [0x6ec200]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0x673de8
push dword [ebp - 0xc]
push 0x673d90
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
call fcn.00405094
je 0x673cf1
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x20]
jge 0x673bdb
lea eax, [ebp - 0x2c]
call fcn.0040eba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x673d28
lea eax, [ebp - 0x5c]
mov edx, 0xc
call fcn.00404cbc
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404cbc
ret