Function at 0x468716
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x93c
mov eax, dword [0x4af550]
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
push edi
mov dword [ebp - 4], eax
jne 0x468739
or esi, 0xffffffff
jmp 0x468a47
mov eax, dword [ebx]
lea ecx, [ebp - 0x13c]
push ecx
push 0x8001
push dword [ebp + 0xc]
push ebx
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push 0
push eax
lea esi, [ebp - 0x13c]
sub esp, 0x108
push 0x42
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0048d88e
mov eax, dword [ebp - 4]
add esp, 0x110
cmp dword [eax - 8], 0
jne 0x468806
mov eax, dword [0x4bc51c]
mov ecx, 0x1ff
mov dword [ebp - 0x93c], eax
xor eax, eax
lea edi, [ebp - 0x938]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x93c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x93c]
test eax, eax
je 0x4687c0
lea eax, [ebp - 0x93c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x93c]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004039ec
push 0x4af6b4
lea ecx, [ebp - 0xc]
call fcn.00403927
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403b20
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x30]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 0
lea ecx, [ebp - 4]
call fcn.00403c58
push 0x5c
push eax
call fcn.0049ce62
pop ecx
test eax, eax
pop ecx
je 0x46883e
add eax, 2
lea ecx, [ebp - 0xc]
push eax
call fcn.0040a529
lea eax, [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
call fcn.00403a8c
lea ecx, [ebp - 0xc]
call fcn.004038fb
mov esi, dword [0x4c5f64]
or edi, 0xffffffff
test esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], edi
je 0x468a44
mov eax, dword [0x4c5f5c]
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.004038b5
lea ecx, [ebp - 0x2c]
call fcn.00403cfb
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CharUpperW]
test esi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edi
jle 0x468a3c
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x18]
add eax, 0x10
push eax
call fcn.004038b5
lea ecx, [ebp - 0x18]
call fcn.00403cfb
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_CharUpperW]
xor esi, esi
lea ecx, [ebp - 0x18]
push esi
push 0x4b70c4
call fcn.00403d34
test eax, eax
jne 0x468979
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push 1
push ebx
mov dword [ebp - 0x10], 0x20088000
call dword [eax + 0x24]
push esi
push str.DIR
lea ecx, [ebp - 0x18]
call fcn.00403d34
test eax, eax
jne 0x4688fb
test byte [ebp - 0xd], 0x20
jmp 0x46893f
push esi
push 0x4b70d4
lea ecx, [ebp - 0x18]
call fcn.00403d34
test eax, eax
jne 0x468970
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 3
jle 0x468a02
test byte [ebp - 0xd], 0x20
jne 0x468a02
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0xc]
push ecx
mov esi, 0x40000
push 1
push ebx
mov dword [ebp - 0x10], esi
call dword [eax + 0x24]
test dword [ebp - 0x10], esi
je 0x468a02
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
add eax, 0x10
push eax
call fcn.004680d5
add esp, 0x1c
jmp 0x468a02
test dword [ebp - 0x10], 0x88000
jmp 0x46893f
push 0x4b6164
lea ecx, [ebp - 0x30]
call fcn.00403927
mov eax, dword [ebp - 8]
push dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
push eax
call fcn.0049c975
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x30]
inc bl
call fcn.004038fb
test bl, bl
jne 0x4689d9
push 1
lea ecx, [ebp - 8]
call fcn.004690ca
push ecx
add eax, 8
mov ecx, esp
push eax
call fcn.004038b5
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.0048ec97
add esp, 0xc
test eax, eax
je 0x4689ff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
add eax, 0x10
push eax
call fcn.004680d5
add esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x468a1d
cmp dword [ebp - 0x24], edi
je 0x468a1d
cmp dword [ebp - 0x20], edi
je 0x468a1d
cmp dword [ebp - 0x1c], edi
je 0x468a1d
cmp dword [ebp - 0x28], edi
jne 0x468a56
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.0046a2b1
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x34]
jl 0x468894
lea ecx, [ebp - 0x2c]
call fcn.004038fb
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x2c]
call fcn.004038fb
jmp 0x468a47