Function at 0x40b520
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1414
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x4d8c20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x80]
call fcn.0040b430
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x40b562
mov eax, dword [eax]
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x6c], edi
jb 0x40b57d
mov eax, dword [ebp - 0x80]
push eax
call fcn.00475dcb
add esp, 4
lea ecx, [ebp - 0xd4]
call fcn.0040af10
mov dword [ebp - 4], esi
xor ecx, ecx
push 0x15
mov word [ebp - 0x9c], cx
push str.KometaLaunchPanel.exe
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], esi
call fcn.00404447
lea edx, [ebp - 0xd4]
push edx
lea ebx, [ebp - 0x9c]
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00419220
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x88], 8
jb 0x40b5ee
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00475dcb
add esp, 4
lea edx, [ebp - 0xd8]
push edx
push 0x4b486c
xor ebx, ebx
push 1
push ebx
xor ecx, ecx
push 0x4b490c
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
mov dword [ebp - 0xd8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40bd3e
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xdc]
push edx
mov dword [ebp - 0xdc], ebx
mov ecx, dword [eax]
push 0x4b492c
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x40b9c2
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x40b664
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
test eax, eax
jns 0x40b6ee
push 0x4b
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov edi, eax
mov byte [ebp - 4], 4
cmp edi, ebx
je 0x40b6df
lea esi, [edi + 0x10]
cmp esi, ebx
je 0x40b69f
lea eax, [edi + 0x20]
jmp 0x40b6a1
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
cmp esi, ebx
je 0x40b6b8
lea eax, [edi + 0x20]
jmp 0x40b6ba
xor eax, eax
push str.Failed_to_set_path:
push eax
call fcn.00407256
add esp, 8
cmp esi, ebx
je 0x40b6d1
lea eax, [edi + 0x20]
jmp 0x40b6d3
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.0040741c
add esp, 4
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 3
call fcn.00415130
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x40b6fa
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
test eax, eax
jns 0x40b785
push 0x4f
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov edi, eax
mov byte [ebp - 4], 5
cmp edi, ebx
je 0x40b776
lea esi, [edi + 0x10]
cmp esi, ebx
je 0x40b736
lea eax, [edi + 0x20]
jmp 0x40b738
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
cmp esi, ebx
je 0x40b74f
lea eax, [edi + 0x20]
jmp 0x40b751
xor eax, eax
push str.Failed_to_set_icon_location:
push eax
call fcn.00407256
add esp, 8
cmp esi, ebx
je 0x40b768
lea eax, [edi + 0x20]
jmp 0x40b76a
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.0040741c
add esp, 4
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 3
call fcn.00415130
lea ecx, [ebp - 0x80]
call fcn.0040b430
push 0xffffffffffffffff
mov byte [ebp - 4], 6
push str._.lnk
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], 2
call fcn.0040ded0
add esp, 8
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40b7c5
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404447
lea edx, [ebp - 0x80]
push edx
lea ebx, [ebp - 0x2c]
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00419220
add esp, 4
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x40b800
mov eax, dword [eax]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x18]
push ecx
call eax
test eax, eax
mov edi, 8
sets bl
cmp dword [ebp - 0x50], edi
jb 0x40b82c
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x18], edi
jb 0x40b855
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00475dcb
add esp, 4
test bl, bl
je 0x40b8be
push 0x54
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov esi, eax
mov byte [ebp - 4], 9
test esi, esi
je 0x40b8af
lea edi, [esi + 0x10]
test edi, edi
je 0x40b881
lea eax, [esi + 0x20]
jmp 0x40b883
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
test edi, edi
je 0x40b89a
lea eax, [esi + 0x20]
jmp 0x40b89c
xor eax, eax
push str.Failed_to_save_lnk_file
push eax
call fcn.00407256
add esp, 8
mov edi, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 6
call fcn.00415130
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x6c], edi
jb 0x40b8e1
mov eax, dword [ebp - 0x80]
push eax
call fcn.00475dcb
add esp, 4
xor ebx, ebx
xor ecx, ecx
push 0xf
mov word [ebp - 0x2c], cx
push str.panelremove.exe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00404447
lea edx, [ebp - 0xd4]
push edx
lea ebx, [ebp - 0x2c]
lea edi, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
call fcn.00419220
add esp, 4
mov esi, 8
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], esi
jb 0x40b938
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00475dcb
add esp, 4
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
mov edx, dword [edx]
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0xdc]
push ecx
push 0x4b492c
xor ebx, ebx
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call edx
cmp eax, ebx
jl 0x40bc6b
mov ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x40b97f
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
test eax, eax
jns 0x40ba7b
push 0x61
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov edi, eax
mov byte [ebp - 4], 0xe
cmp edi, ebx
je 0x40ba67
lea esi, [edi + 0x10]
cmp esi, ebx
je 0x40ba27
lea eax, [edi + 0x20]
jmp 0x40ba29
push 0x5a
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov esi, eax
mov byte [ebp - 4], 0xa
cmp esi, ebx
je 0x40ba13
lea edi, [esi + 0x10]
cmp edi, ebx
je 0x40b9ea
lea eax, [esi + 0x20]
jmp 0x40b9ec
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
cmp edi, ebx
je 0x40ba03
lea eax, [esi + 0x20]
jmp 0x40ba05
xor eax, eax
push str.Failed_to_create_ipersistfile
push eax
call fcn.00407256
add esp, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 3
call fcn.00415130
jmp 0x40b8e3
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
cmp esi, ebx
je 0x40ba40
lea eax, [edi + 0x20]
jmp 0x40ba42
xor eax, eax
push str.Failed_to_set_path:
push eax
call fcn.00407256
add esp, 8
cmp esi, ebx
je 0x40ba59
lea eax, [edi + 0x20]
jmp 0x40ba5b
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.0040741c
add esp, 4
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xd
call fcn.00415130
mov esi, 8
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x40ba86
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
test eax, eax
jns 0x40bb11
push 0x65
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov esi, eax
mov byte [ebp - 4], 0xf
cmp esi, ebx
je 0x40bb02
lea edi, [esi + 0x10]
cmp edi, ebx
je 0x40bac2
lea eax, [esi + 0x20]
jmp 0x40bac4
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
cmp edi, ebx
je 0x40badb
lea eax, [esi + 0x20]
jmp 0x40badd
xor eax, eax
push str.Failed_to_set_icon_location:
push eax
call fcn.00407256
add esp, 8
cmp edi, ebx
je 0x40baf4
lea eax, [esi + 0x20]
jmp 0x40baf6
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.0040741c
add esp, 4
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xd
call fcn.00415130
lea ecx, [ebp - 0x80]
call fcn.0040b430
push 0xffffffffffffffff
mov byte [ebp - 4], 0x10
push str.__.lnk
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], 2
call fcn.0040ded0
add esp, 8
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40bb51
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404447
lea edx, [ebp - 0x80]
push edx
lea ebx, [ebp - 0x2c]
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 0x11
call fcn.00419220
add esp, 4
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
jb 0x40bb8c
mov eax, dword [eax]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x18]
push ecx
call eax
test eax, eax
mov edi, 8
sets bl
cmp dword [ebp - 0x50], edi
jb 0x40bbb8
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x18], edi
jb 0x40bbe1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00475dcb
add esp, 4
test bl, bl
je 0x40bc4a
push 0x6a
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov esi, eax
mov byte [ebp - 4], 0x13
test esi, esi
je 0x40bc3b
lea edi, [esi + 0x10]
test edi, edi
je 0x40bc0d
lea eax, [esi + 0x20]
jmp 0x40bc0f
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
test edi, edi
je 0x40bc26
lea eax, [esi + 0x20]
jmp 0x40bc28
xor eax, eax
push str.Failed_to_save_lnk_file
push eax
call fcn.00407256
add esp, 8
mov edi, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x10
call fcn.00415130
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp - 0x6c], edi
jb 0x40bccb
mov eax, dword [ebp - 0x80]
push eax
call fcn.00475dcb
add esp, 4
jmp 0x40bccb
push 0x70
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov esi, eax
mov byte [ebp - 4], 0x14
cmp esi, ebx
je 0x40bcbc
lea edi, [esi + 0x10]
cmp edi, ebx
je 0x40bc93
lea eax, [esi + 0x20]
jmp 0x40bc95
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
cmp edi, ebx
je 0x40bcac
lea eax, [esi + 0x20]
jmp 0x40bcae
xor eax, eax
push str.Failed_to_create_ipersistfile
push eax
call fcn.00407256
add esp, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xd
call fcn.00415130
cmp dword [ebp - 0xa4], 8
jb 0x40bce3
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00475dcb
add esp, 4
xor ebx, ebx
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x40bcfb
mov edx, dword [ebp - 0x48]
push edx
call fcn.00475dcb
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0xc0], esi
jb 0x40bd22
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00475dcb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret
push 0x75
push str.apppanel.cpp
lea esi, [ebp - 0x198]
call fcn.00414f70
mov esi, eax
mov byte [ebp - 4], 0x15
cmp esi, ebx
je 0x40bd8f
lea edi, [esi + 0x10]
cmp edi, ebx
je 0x40bd66
lea eax, [esi + 0x20]
jmp 0x40bd68
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
cmp edi, ebx
je 0x40bd7f
lea eax, [esi + 0x20]
jmp 0x40bd81
xor eax, eax
push str.Failed_to_create_ishelllink
push eax
call fcn.00407256
add esp, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 3
call fcn.00415130
jmp 0x40bce5