Function at 0xc6940c
Capabilities:
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0xd325a8]
push ebx
push esi
inc eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [0xd325a8], eax
push edi
cmp eax, 0x30
jge 0xcaeddb
xor ebx, ebx
mov byte [esp + 0x13], 1
mov eax, ebx
mov byte [esp + 0x1e], 1
push 0x10000
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], bl
mov dword [esp + 0x64], ebx
call fcn.00c7fe0b
pop ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], eax
call fcn.00c66246
lea ecx, [esp + 0x78]
call fcn.00c6a961
lea ecx, [esp + 0x60]
call fcn.00c66246
lea ecx, [esp + 0x60]
call fcn.00c66246
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x60]
mov eax, 0x8000
push eax
push edi
mov dword [esp + 0x90], eax
call fcn.00c65745
test al, al
je 0xcaf211
lea ecx, [esp + 0x60]
call fcn.00c6559a
lea ecx, [esp + 0x60]
call fcn.00c653de
lea ecx, [esp + 0x60]
call fcn.00c653c7
test byte [esp + 0x88], 3
jne 0xcaedf5
lea ecx, [esp + 0xd0]
call fcn.00c6a961
lea ecx, [esp + 0xd0]
call fcn.00c7f9af
lea ecx, [esp + 0xc0]
call fcn.00c6a961
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.00c63aa2
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x24]
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x60]
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0x28], 0x18
push eax
call fcn.00c7f866
push ebx
push esi
push edi
lea ecx, [esp + 0x6c]
call fcn.00c654c6
cmp dword [esp + 0xb8], 0x21335541
je 0xcaee56
lea ecx, [esp + 0x50]
call fcn.00c6a961
lea ecx, [esp + 0x28]
call fcn.00c6a961
push ebx
lea eax, [esp + 0x2c]
push ebx
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0xcc]
call fcn.00c6525f
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
call fcn.00c66350
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x28]
call fcn.00c6988f
lea ecx, [esp + 0x50]
call fcn.00c6988f
push 0x2000
call fcn.00c7fe0b
pop ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00c65722
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x1e], 1
jne 0xc696c5
push ecx
push esi
lea ecx, [esp + 0x68]
call fcn.00c69769
test al, al
je 0xc696c5
mov eax, dword [esp + 0x14]
inc eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.00c67650
push esi
call fcn.00c6769d
push esi
test al, al
je 0xcaf1f4
call fcn.00c6773d
push esi
mov byte [esp + 0x23], bl
call fcn.00c84963
mov dword [esp + 0x28], eax
pop ecx
cmp eax, 2
jle 0xc6962f
mov ax, word [esi + eax*2 - 4]
push 0x7f
pop ecx
and ax, cx
movzx eax, ax
push eax
call fcn.00c863c5
test eax, eax
mov eax, dword [esp + 0x28]
pop ecx
jne 0xc69747
cmp eax, 1
je 0xc69747
cmp byte [esp + 0x20], 1
je 0xcaf1d5
push dword [esp + 0xc0]
lea ecx, [esp + 0x9c]
call fcn.00c69cb3
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xa0]
push eax
push esi
call fcn.00c67778
lea ecx, [esp + 0x98]
mov dword [esp + 0x38], eax
call fcn.00c6988f
mov eax, dword [esp + 0x38]
test eax, eax
je 0xc69758
cmp eax, 1
jle 0xc6975c
cmp eax, 3
jg 0xcaf1e2
push dword [ebp + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, edi
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.00c675ac
cmp byte [esp + 0x13], 1
mov al, byte [esp + 0x1f]
mov byte [esp + 0x20], al
je 0xc695b5
lea ecx, [esp + 0x60]
call fcn.00c66246
push dword [esp + 0xd0]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 0x4c]
mov bl, byte [esp + 0x13]
sub dword [eax], 1
jne 0xc696f9
push 4
push eax
call fcn.00c7fdcd
push esi
call fcn.00c7fe14
add esp, 0xc
lea ecx, [esp + 0xc0]
call fcn.00c6988f
lea ecx, [esp + 0xd0]
call fcn.00c6988f
lea ecx, [esp + 0x60]
call fcn.00c66246
lea ecx, [esp + 0x78]
call fcn.00c6988f
lea ecx, [esp + 0x60]
call fcn.00c66246
push dword [esp + 0x64]
call fcn.00c7fe14
pop ecx
dec dword [0xd325a8]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp word [esi + eax*2 - 2], 0x5f
jne 0xc69638
jmp 0xcaf1c4
mov byte [esp + 0x13], bl
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0xc696b2
push dword [ebp + 0x14]
push str.include_depth_exceeded.__Make_sure_there_are_no_recursive_includes
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.00cc989b
xor bl, bl
jmp 0xc69736
test byte [esp + 0x88], 1
je 0xcaee0d
mov eax, dword [esp + 0x70]
or eax, dword [esp + 0x74]
jne 0xc694cd
cmp dword [esp + 0x8c], 3
jne 0xcaee20
push 3
push 0xd2362c
jmp 0xcaee48
cmp dword [esp + 0x8c], 5
jne 0xcaee33
push 2
push 0xd23634
jmp 0xcaee48
cmp dword [esp + 0x8c], 7
jne 0xc694cd
push 2
push 0xd23630
lea ecx, [esp + 0x68]
call fcn.00ccccff
jmp 0xc694cd
cmp dword [esp + 0xbc], 0x36304145
jne 0xc69542
lea ecx, [esp + 0x60]
call fcn.00c66246
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xa8]
push 2
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
push dword [eax]
mov byte [esp + 0xc4], bl
call fcn.00c64ecb
test eax, eax
jne 0xcaf1a8
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push str.___AUTOIT_SCRIPT___
lea ecx, [esp + 0xb4]
call fcn.00cd2cf9
lea ecx, [esp + 0xa8]
mov esi, eax
call fcn.00c64f39
test esi, esi
jne 0xcaf1a8
mov eax, dword [esp + 0x14]
push 4
pop esi
push 0x10
mov eax, dword [eax]
mov dword [esp + 0x40], eax
or eax, 0xffffffff
mov word [esp + 0x34], ax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00c7fddb
mov edi, eax
or eax, 0xffffffff
pop ecx
push 5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], edi
mov dword [edi], 0xcfcc4c
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x36], ax
call fcn.00c6a5fb
mov eax, dword [esp + 0x3c]
mov ecx, edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
call fcn.00c6a4a1
mov edi, dword [esp + 0x18]
xor eax, eax
inc eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], eax
cmp dword [esp + 0x3c], eax
jl 0xcaf115
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
add eax, esi
inc esi
mov dword [esp + 0x18], esi
movzx eax, byte [eax]
push eax
mov dword [esp + 0x28], eax
call fcn.00c6a5fb
cmp word [esp + 0x30], 0xf
ja 0xcaef8b
mov eax, dword [esp + 0x14]
add eax, esi
add esi, 4
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0xcaf0a7
lea ecx, [esp + 0x28]
call fcn.00cd0bd2
test al, al
je 0xcaefb3
mov ecx, dword [esp + 0x14]
add ecx, esi
add esi, 8
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
jmp 0xcaf0a7
lea ecx, [esp + 0x28]
call fcn.00cd0bbe
test al, al
je 0xcaefd4
mov eax, dword [esp + 0x14]
add eax, esi
add esi, 8
fld qword [eax]
fstp qword [esp + 0x28]
jmp 0xcaf0a7
lea ecx, [esp + 0x28]
call fcn.00c7cf7e
test al, al
je 0xcaf0a7
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call fcn.00cc967e
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], esi
push esi
cmp eax, 0x31
jne 0xcaf030
lea ecx, [esp + 0xe4]
call fcn.00c69cb3
mov ecx, dword [edi + 4]
push dword [esp + 0xe0]
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0xe0]
mov esi, eax
call fcn.00c6988f
push 1
jmp 0xcaf05c
cmp eax, 0x30
jne 0xcaf06f
lea ecx, [esp + 0x9c]
call fcn.00c69cb3
lea ecx, [esp + 0x98]
call fcn.00c64a5e
lea ecx, [esp + 0x98]
mov esi, eax
call fcn.00c6988f
push ebx
lea ecx, [esp + 0x2c]
call fcn.00c6a5fb
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
jmp 0xcaf09c
cmp eax, 0x37
jne 0xcaf093
mov ecx, edi
call fcn.00cc95ad
test eax, eax
je 0xcaf17d
push esi
call fcn.00c7fe14
mov esi, dword [esp + 0x1c]
pop ecx
jmp 0xcaef53
lea ecx, [esp + 0x2c]
call fcn.00cd0b5a
push esi
call fcn.00c7fe14
mov esi, dword [esp + 0x1c]
pop ecx
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x28]
push eax
call fcn.00c6a4a1
cmp dword [esp + 0x24], 0x7f
jne 0xcaef53
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 8]
cmp edx, 2
jbe 0xcaf0fd
mov eax, dword [ecx + 4]
push 0x7f
mov eax, dword [eax + edx*4 - 8]
pop edx
cmp word [eax + 8], dx
je 0xcaf0fd
inc dword [esp + 0x44]
mov ecx, edi
push 0x3b
pop eax
mov word [esp + 0x20], ax
or eax, 0xffffffff
push eax
lea eax, [esp + 0x24]
push eax
push dword [edi + 0x10]
call fcn.00c675ac
jmp 0xcaf102
call fcn.00cc9bb5
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x3c]
jle 0xcaef53
push 5
lea ecx, [esp + 0x2c]
call fcn.00c6a5fb
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.00cd0acc
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x50]
call fcn.00cc417d
push dword [esp + 0x14]
call fcn.00c8497e
mov bl, 1
pop ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0xcfcc4c
call fcn.00c64140
push dword [esp + 0x54]
call fcn.00c7fe14
pop ecx
lea ecx, [esp + 0x28]
call fcn.00c7cf6e
jmp 0xc696f9
mov eax, dword [esp + 0x40]
mov ecx, edi
push 0xcfcc08
push str.Bad_directive_syntax_error
push eax
push dword [ebp + 8]
call fcn.00cc989b
push esi
call fcn.00c7fe14
pop ecx
push dword [esp + 0x14]
call fcn.00c8497e
jmp 0xcaf153
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
push str.Error_opening_the_file
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.00cc989b
jmp 0xc696f9
xor ecx, ecx
mov byte [esp + 0x1f], 1
mov word [esi + eax*2 - 2], cx
jmp 0xc69638
push esi
mov ecx, edi
call fcn.00cc9546
jmp 0xc696b2
cmp eax, 4
jne 0xc6975c
mov byte [esp + 0x1e], bl
jmp 0xc6975c
mov eax, dword [esp + 0x18]
mov ecx, edi
push str.Unterminated_string
push eax
push dword [ebp + 0x10]
call fcn.00cc989b
mov byte [esp + 0x13], bl
jmp 0xc696c5
push dword [ebp + 0x14]
mov ecx, esi
push str.Error_opening_the_file
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.00cc989b
jmp 0xc69711