Function at 0x468b87
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x93c
mov eax, dword [0x4b0550]
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
push edi
mov dword [ebp - 4], eax
jne 0x468baa
or esi, 0xffffffff
jmp 0x468eb8
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.0048de31
mov eax, dword [ebp - 4]
add esp, 0x110
cmp dword [eax - 8], 0
jne 0x468c77
mov eax, dword [0x4bd5dc]
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 0x468c31
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 0x4b06b4
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.0049d3b2
pop ecx
test eax, eax
pop ecx
je 0x468caf
add eax, 2
lea ecx, [ebp - 0xc]
push eax
call fcn.0040a4e8
lea eax, [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
call fcn.00403a8c
lea ecx, [ebp - 0xc]
call fcn.004038fb
mov esi, dword [0x4c702c]
or edi, 0xffffffff
test esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], edi
je 0x468eb5
mov eax, dword [0x4c7024]
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 0x468ead
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 0x4b814c
call fcn.00403d34
test eax, eax
jne 0x468dea
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 0x468d6c
test byte [ebp - 0xd], 0x20
jmp 0x468db0
push esi
push 0x4b815c
lea ecx, [ebp - 0x18]
call fcn.00403d34
test eax, eax
jne 0x468de1
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 3
jle 0x468e73
test byte [ebp - 0xd], 0x20
jne 0x468e73
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 0x468e73
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.00468546
add esp, 0x1c
jmp 0x468e73
test dword [ebp - 0x10], 0x88000
jmp 0x468db0
push 0x4b71e4
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.0049cec5
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 0x468e4a
push 1
lea ecx, [ebp - 8]
call fcn.0045a8f0
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.0048f17c
add esp, 0xc
test eax, eax
je 0x468e70
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.00468546
add esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x468e8e
cmp dword [ebp - 0x24], edi
je 0x468e8e
cmp dword [ebp - 0x20], edi
je 0x468e8e
cmp dword [ebp - 0x1c], edi
je 0x468e8e
cmp dword [ebp - 0x28], edi
jne 0x468ec7
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.0046a760
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x34]
jl 0x468d05
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 0x468eb8