Function at 0x450e8d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x93c
mov eax, dword [0x481530]
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
push edi
mov dword [ebp - 4], eax
jne 0x450eb0
or esi, 0xffffffff
jmp 0x4511be
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.004625f4
mov eax, dword [ebp - 4]
add esp, 0x110
cmp dword [eax - 8], 0
jne 0x450f7d
mov eax, dword [0x48be0c]
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 0x450f37
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.0040148c
push 0x4815f0
lea ecx, [ebp - 0xc]
call fcn.004013c7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004015b5
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x30]
call fcn.0040139b
lea ecx, [ebp - 0xc]
call fcn.0040139b
push 0
lea ecx, [ebp - 4]
call fcn.004016d3
push 0x5c
push eax
call fcn.0046e3c2
pop ecx
test eax, eax
pop ecx
je 0x450fb5
add eax, 2
lea ecx, [ebp - 0xc]
push eax
call fcn.00407ed4
lea eax, [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
call fcn.00401521
lea ecx, [ebp - 0xc]
call fcn.0040139b
mov esi, dword [0x4958fc]
or edi, 0xffffffff
test esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], edi
je 0x4511bb
mov eax, dword [0x4958f4]
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.00401355
lea ecx, [ebp - 0x2c]
call fcn.00401764
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 0x4511b3
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x18]
add eax, 0x10
push eax
call fcn.00401355
lea ecx, [ebp - 0x18]
call fcn.00401764
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_CharUpperW]
xor esi, esi
lea ecx, [ebp - 0x18]
push esi
push 0x487634
call fcn.00401799
test eax, eax
jne 0x4510f0
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.00401799
test eax, eax
jne 0x451072
test byte [ebp - 0xd], 0x20
jmp 0x4510b6
push esi
push 0x487638
lea ecx, [ebp - 0x18]
call fcn.00401799
test eax, eax
jne 0x4510e7
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 3
jle 0x451179
test byte [ebp - 0xd], 0x20
jne 0x451179
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 0x451179
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.00450e06
add esp, 0x1c
jmp 0x451179
test dword [ebp - 0x10], 0x88000
jmp 0x4510b6
push 0x486840
lea ecx, [ebp - 0x30]
call fcn.004013c7
mov eax, dword [ebp - 8]
push dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
push eax
call fcn.0046ded5
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x30]
inc bl
call fcn.0040139b
test bl, bl
jne 0x451150
push 1
lea ecx, [ebp - 8]
call fcn.004516ec
push ecx
add eax, 8
mov ecx, esp
push eax
call fcn.00401355
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.00401355
call fcn.00463987
add esp, 0xc
test eax, eax
je 0x451176
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.00450e06
add esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x451194
cmp dword [ebp - 0x24], edi
je 0x451194
cmp dword [ebp - 0x20], edi
je 0x451194
cmp dword [ebp - 0x1c], edi
je 0x451194
cmp dword [ebp - 0x28], edi
jne 0x4511cd
lea ecx, [ebp - 0x18]
call fcn.0040139b
lea ecx, [ebp - 8]
call fcn.00451ed2
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x34]
jl 0x45100b
lea ecx, [ebp - 0x2c]
call fcn.0040139b
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 4]
call fcn.0040139b
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp - 0x18]
call fcn.0040139b
lea ecx, [ebp - 0x2c]
call fcn.0040139b
jmp 0x4511be