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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533944
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x56adc0]
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.0040b570
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x40b662
mov eax, dword [eax]
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x6c], edi
jb 0x40b67d
mov eax, dword [ebp - 0x80]
push eax
call fcn.004f77ab
add esp, 4
lea ecx, [ebp - 0xd4]
call fcn.0040b050
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.00404bd5
lea ebx, [ebp - 0x9c]
lea ecx, [ebp - 0xd4]
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00424f20
mov ebx, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x88], ebx
jb 0x40b6ee
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004f77ab
add esp, 4
lea ecx, [ebp - 0xdc]
push ecx
push 0x5385ac
xor edi, edi
push 1
push edi
xor eax, eax
push 0x5386ac
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], ax
mov dword [ebp - 0xdc], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x40bdc0
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], edi
mov edx, dword [eax]
mov edx, dword [edx]
push 0x5386cc
push eax
call edx
cmp eax, edi
jl 0x40b9d5
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x40b763
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jns 0x40b802
call esi
push eax
push 0x4e
lea ecx, [ebp - 0x198]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov edi, eax
mov byte [ebp - 4], 4
test edi, edi
je 0x40b7ec
lea ebx, [edi + 0x10]
test ebx, ebx
je 0x40b7ac
lea eax, [edi + 0x20]
jmp 0x40b7ae
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40b7c5
lea eax, [edi + 0x20]
jmp 0x40b7c7
xor eax, eax
push str.Failed_to_set_path:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40b7de
lea eax, [edi + 0x20]
jmp 0x40b7e0
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.00407e0a
add esp, 4
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 3
call fcn.0041a760
mov ebx, 8
xor edi, edi
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x40b80d
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
push edi
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
test eax, eax
jns 0x40b89e
call esi
push eax
push 0x52
lea ecx, [ebp - 0x198]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov edi, eax
mov byte [ebp - 4], 5
test edi, edi
je 0x40b88d
lea ebx, [edi + 0x10]
test ebx, ebx
je 0x40b84d
lea eax, [edi + 0x20]
jmp 0x40b84f
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40b866
lea eax, [edi + 0x20]
jmp 0x40b868
xor eax, eax
push str.Failed_to_set_icon_location:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40b87f
lea eax, [edi + 0x20]
jmp 0x40b881
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.00407e0a
add esp, 4
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 3
call fcn.0041a760
xor edi, edi
lea ecx, [ebp - 0x80]
call fcn.0040b570
mov byte [ebp - 4], 6
push 0x12
xor edx, edx
push 0x5416bc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00404bd5
lea ebx, [ebp - 0x2c]
lea ecx, [ebp - 0x80]
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00424f20
mov ebx, 8
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], ebx
jb 0x40b8ea
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x18]
push ecx
call eax
test eax, eax
sets byte [ebp - 0xd5]
cmp dword [ebp - 0x50], ebx
jb 0x40b915
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004f77ab
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], ebx
jb 0x40b93e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004f77ab
add esp, 4
cmp byte [ebp - 0xd5], 0
je 0x40b9b0
call esi
push eax
push 0x58
lea ecx, [ebp - 0x198]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov edi, eax
mov byte [ebp - 4], 9
test edi, edi
je 0x40b99c
lea ebx, [edi + 0x10]
test ebx, ebx
je 0x40b973
lea eax, [edi + 0x20]
jmp 0x40b975
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40b98c
lea eax, [edi + 0x20]
jmp 0x40b98e
xor eax, eax
push str.Failed_to_save_lnk_file
push eax
call fcn.00407c44
add esp, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 6
call fcn.0041a760
mov ebx, 8
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x6c], ebx
jb 0x40ba3f
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004f77ab
add esp, 4
jmp 0x40ba3f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push 0x5e
lea edx, [ebp - 0x198]
push edx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov edi, eax
mov byte [ebp - 4], 0xa
test edi, edi
je 0x40ba30
lea ebx, [edi + 0x10]
test ebx, ebx
je 0x40ba07
lea eax, [edi + 0x20]
jmp 0x40ba09
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40ba20
lea eax, [edi + 0x20]
jmp 0x40ba22
xor eax, eax
push str.Failed_to_create_ipersistfile
push eax
call fcn.00407c44
add esp, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 3
call fcn.0041a760
push 0xf
xor eax, eax
push str.panelremove.exe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404bd5
lea ebx, [ebp - 0x2c]
lea ecx, [ebp - 0xd4]
lea edi, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
call fcn.00424f20
mov edi, 8
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], edi
jb 0x40ba94
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004f77ab
add esp, 4
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
xor edx, edx
mov word [ebp - 0x2c], dx
lea edx, [ebp - 0xe0]
push edx
push 0x5386cc
push eax
mov eax, dword [ecx]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call eax
test eax, eax
js 0x40bd3e
mov ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], edi
jae 0x40badd
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
test eax, eax
jns 0x40bb74
call esi
push eax
push 0x65
lea ecx, [ebp - 0x198]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov edi, eax
mov byte [ebp - 4], 0xe
test edi, edi
je 0x40bb60
lea ebx, [edi + 0x10]
test ebx, ebx
je 0x40bb20
lea eax, [edi + 0x20]
jmp 0x40bb22
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40bb39
lea eax, [edi + 0x20]
jmp 0x40bb3b
xor eax, eax
push str.Failed_to_set_path:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40bb52
lea eax, [edi + 0x20]
jmp 0x40bb54
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.00407e0a
add esp, 4
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xd
call fcn.0041a760
mov edi, 8
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x40bb7f
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
test eax, eax
jns 0x40bc0f
call esi
push eax
push 0x69
lea ecx, [ebp - 0x198]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov edi, eax
mov byte [ebp - 4], 0xf
test edi, edi
je 0x40bc00
lea ebx, [edi + 0x10]
test ebx, ebx
je 0x40bbc0
lea eax, [edi + 0x20]
jmp 0x40bbc2
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40bbd9
lea eax, [edi + 0x20]
jmp 0x40bbdb
xor eax, eax
push str.Failed_to_set_icon_location:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40bbf2
add edi, 0x20
jmp 0x40bbf4
xor edi, edi
push edi
lea ecx, [ebp - 0x48]
call fcn.00407e0a
add esp, 4
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xd
call fcn.0041a760
lea ecx, [ebp - 0x80]
call fcn.0040b570
mov byte [ebp - 4], 0x10
push 0x1a
xor edx, edx
push 0x541770
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00404bd5
lea ebx, [ebp - 0x2c]
lea ecx, [ebp - 0x80]
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 0x11
call fcn.00424f20
mov edi, 8
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], edi
jb 0x40bc60
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x18]
push ecx
call eax
test eax, eax
sets bl
cmp dword [ebp - 0x50], edi
jb 0x40bc87
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004f77ab
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 0x40bcb0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004f77ab
add esp, 4
test bl, bl
je 0x40bd1d
call esi
push eax
push 0x6e
lea ecx, [ebp - 0x198]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov esi, eax
mov byte [ebp - 4], 0x13
test esi, esi
je 0x40bd09
lea edi, [esi + 0x10]
test edi, edi
je 0x40bce0
lea eax, [esi + 0x20]
jmp 0x40bce2
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test edi, edi
je 0x40bcf9
lea eax, [esi + 0x20]
jmp 0x40bcfb
xor eax, eax
push str.Failed_to_save_lnk_file
push eax
call fcn.00407c44
add esp, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x10
call fcn.0041a760
mov edi, 8
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x6c], edi
jb 0x40bda7
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004f77ab
add esp, 4
jmp 0x40bda7
call esi
push eax
push 0x74
lea edx, [ebp - 0x198]
push edx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov esi, eax
mov byte [ebp - 4], 0x14
test esi, esi
je 0x40bd93
lea edi, [esi + 0x10]
test edi, edi
je 0x40bd6a
lea eax, [esi + 0x20]
jmp 0x40bd6c
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test edi, edi
je 0x40bd83
lea eax, [esi + 0x20]
jmp 0x40bd85
xor eax, eax
push str.Failed_to_create_ipersistfile
push eax
call fcn.00407c44
add esp, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xd
call fcn.0041a760
mov edi, 8
cmp dword [ebp - 0xa4], edi
jb 0x40be2d
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004f77ab
add esp, 4
jmp 0x40be2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x79
lea ecx, [ebp - 0x198]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov esi, eax
mov byte [ebp - 4], 0x15
test esi, esi
je 0x40be19
lea edi, [esi + 0x10]
test edi, edi
je 0x40bdf0
lea eax, [esi + 0x20]
jmp 0x40bdf2
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test edi, edi
je 0x40be09
lea eax, [esi + 0x20]
jmp 0x40be0b
xor eax, eax
push str.Failed_to_create_ishelllink
push eax
call fcn.00407c44
add esp, 8
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 3
call fcn.0041a760
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x40be3e
mov edx, dword [ebp - 0x48]
push edx
call fcn.004f77ab
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0xc0], edi
jb 0x40be69
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.004f77ab
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.004f6bad
mov esp, ebp
pop ebp
ret