Function at 0x43b3cd
Capabilities:
Accept command line arguments
Get common file path
Get user security identifier
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472bca
mov eax, dword fs:[0]
push eax
mov eax, 0x248c
call fcn.00463310
mov eax, dword [0x4a0590]
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
mov eax, 0x4a4568
mov dword [ebp - 0x2498], eax
call fcn.0043bdc9
and dword [ebp - 4], 0
mov ebx, 0x4a4588
push ebx
call fcn.0043be0f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
lea eax, [ebp - 0x2430]
call fcn.0043bdc9
lea eax, [ebp - 0x2450]
call fcn.0043bdc9
mov byte [ebp - 4], 3
test esi, esi
je 0x43b4ef
mov ecx, esi
xor edi, edi
jmp 0x43b456
cmp ax, 0x3d
je 0x43b45e
inc esi
inc esi
movzx eax, word [esi]
cmp ax, di
jne 0x43b44e
push 0x3d
pop eax
cmp ax, word [esi]
jne 0x43b4d8
push esi
push ecx
lea eax, [ebp - 0x2430]
push eax
call fcn.0043bd84
cmp dword [ebp - 0x241c], edi
je 0x43b4e3
inc esi
inc esi
mov dword [ebp - 0x2458], esi
mov eax, esi
cmp word [esi], di
je 0x43b498
inc esi
inc esi
cmp word [esi], di
jne 0x43b48b
mov dword [ebp - 0x2458], esi
push esi
push eax
lea eax, [ebp - 0x2450]
push eax
call fcn.0043bd84
lea eax, [ebp - 0x2430]
push eax
call fcn.0043be60
lea edi, [ebp - 0x2450]
mov esi, eax
call fcn.0043ba47
add dword [ebp - 0x2458], 2
mov eax, dword [ebp - 0x2458]
cmp word [eax], 0
mov esi, eax
jne 0x43b448
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x43b4f5
inc esi
inc esi
cmp word [esi], di
jne 0x43b4e1
inc esi
inc esi
cmp word [esi], di
jmp 0x43b4d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._env
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x43b5c1
lea esi, [eax + 0xa]
jmp 0x43b51a
mov esi, dword [ebp - 0x2458]
mov ecx, esi
jmp 0x43b52c
cmp ax, 0x22
je 0x43b534
cmp ax, 0x3d
je 0x43b534
inc esi
inc esi
movzx eax, word [esi]
test ax, ax
jne 0x43b51e
push 0x3d
pop eax
cmp ax, word [esi]
jne 0x43b5c1
push esi
push ecx
lea eax, [ebp - 0x2430]
push eax
call fcn.0043bd84
cmp dword [ebp - 0x241c], 0
je 0x43b5c1
inc esi
inc esi
mov ecx, esi
jmp 0x43b56b
cmp ax, 0x22
je 0x43b579
cmp ax, 0xa
je 0x43b579
inc esi
inc esi
movzx eax, word [esi]
mov dword [ebp - 0x2458], esi
test ax, ax
jne 0x43b55d
push esi
push ecx
lea eax, [ebp - 0x2450]
push eax
call fcn.0043bd84
lea eax, [ebp - 0x2430]
push eax
call fcn.0043be60
lea edi, [ebp - 0x2450]
mov esi, eax
call fcn.0043ba47
add dword [ebp - 0x2458], 2
mov eax, dword [ebp - 0x2458]
movzx eax, word [eax]
test ax, ax
je 0x43b5c1
push 0x22
pop ecx
cmp cx, ax
jne 0x43b514
push str.ALL_USERS_DESKTOP
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
lea eax, [ebp - 0x2470]
push eax
mov byte [ebp - 4], 4
call fcn.0043bfa0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2464], eax
mov eax, dword [0x4a45a0]
mov dword [ebp - 0x245c], eax
mov eax, dword [0x4a4588]
lea edi, [ebp - 0x2468]
lea esi, [ebp - 0x2460]
mov dword [ebp - 0x2468], ecx
mov dword [ebp - 0x2460], eax
call fcn.00440e44
mov byte [ebp - 0x2451], al
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 3
call fcn.0043b39a
xor eax, eax
cmp byte [ebp - 0x2451], al
je 0x43b690
push eax
push 0x19
lea ecx, [ebp - 0x2010]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43b690
push str.ALL_USERS_DESKTOP
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
mov byte [ebp - 4], 5
call fcn.0043be60
lea ecx, [ebp - 0x2010]
push ecx
push eax
call fcn.004095cb
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 3
call fcn.0043b39a
push str.USER_DESKTOP
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
lea eax, [ebp - 0x2470]
push eax
mov byte [ebp - 4], 6
call fcn.0043bfa0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2464], eax
mov eax, dword [0x4a45a0]
mov dword [ebp - 0x245c], eax
mov eax, dword [0x4a4588]
lea edi, [ebp - 0x2468]
lea esi, [ebp - 0x2460]
mov dword [ebp - 0x2468], ecx
mov dword [ebp - 0x2460], eax
call fcn.00440e44
mov byte [ebp - 0x2451], al
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 3
call fcn.0043b39a
xor eax, eax
cmp byte [ebp - 0x2451], al
je 0x43b75f
push eax
push 0x10
lea ecx, [ebp - 0x2010]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43b75f
push str.USER_DESKTOP
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
mov byte [ebp - 4], 7
call fcn.0043be60
lea ecx, [ebp - 0x2010]
push ecx
push eax
call fcn.004095cb
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 3
call fcn.0043b39a
push str.ALL_USERS_START_MENU_PROGRAMS
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
lea eax, [ebp - 0x2470]
push eax
mov byte [ebp - 4], 8
call fcn.0043bfa0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2464], eax
mov eax, dword [0x4a45a0]
mov dword [ebp - 0x245c], eax
mov eax, dword [0x4a4588]
lea edi, [ebp - 0x2468]
lea esi, [ebp - 0x2460]
mov dword [ebp - 0x2468], ecx
mov dword [ebp - 0x2460], eax
call fcn.00440e44
mov byte [ebp - 0x2451], al
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 3
call fcn.0043b39a
xor eax, eax
cmp byte [ebp - 0x2451], al
je 0x43b82e
push eax
push 0x17
lea ecx, [ebp - 0x2010]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43b82e
push str.ALL_USERS_START_MENU_PROGRAMS
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
mov byte [ebp - 4], 9
call fcn.0043be60
lea ecx, [ebp - 0x2010]
push ecx
push eax
call fcn.004095cb
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 3
call fcn.0043b39a
push str.USER_START_MENU_PROGRAMS
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
lea eax, [ebp - 0x2470]
push eax
mov byte [ebp - 4], 0xa
call fcn.0043bfa0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2464], eax
mov eax, dword [0x4a45a0]
mov dword [ebp - 0x245c], eax
mov eax, dword [0x4a4588]
lea edi, [ebp - 0x2468]
lea esi, [ebp - 0x2460]
mov dword [ebp - 0x2468], ecx
mov dword [ebp - 0x2460], eax
call fcn.00440e44
mov byte [ebp - 0x2451], al
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 3
call fcn.0043b39a
xor eax, eax
cmp byte [ebp - 0x2451], al
je 0x43b8fd
push eax
push 2
lea ecx, [ebp - 0x2010]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43b8fd
push str.USER_START_MENU_PROGRAMS
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
mov byte [ebp - 4], 0xb
call fcn.0043be60
lea ecx, [ebp - 0x2010]
push ecx
push eax
call fcn.004095cb
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 3
call fcn.0043b39a
push str.B1_USER_NAME
lea eax, [ebp - 0x2490]
call fcn.0043bde9
lea eax, [ebp - 0x2490]
push eax
lea eax, [ebp - 0x2470]
push eax
mov byte [ebp - 4], 0xc
call fcn.0043bfa0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2464], eax
mov eax, dword [0x4a45a0]
mov dword [ebp - 0x245c], eax
mov eax, dword [0x4a4588]
lea edi, [ebp - 0x2468]
lea esi, [ebp - 0x2460]
mov dword [ebp - 0x2468], ecx
mov dword [ebp - 0x2460], eax
call fcn.00440e44
mov bl, al
neg bl
sbb bl, bl
lea eax, [ebp - 0x2490]
inc bl
mov byte [ebp - 4], 3
call fcn.0043b39a
test bl, bl
je 0x43ba12
mov esi, edi
mov dword [ebp - 0x246c], 0x2000
mov dword [ebp - 0x2494], 0x200
call fcn.00440e19
add eax, 0x20
cmp dword [eax + 0x18], 8
jb 0x43b9a4
mov eax, dword [eax + 4]
jmp 0x43b9a7
add eax, 4
lea ecx, [ebp - 0x245c]
push ecx
lea ecx, [ebp - 0x2494]
push ecx
lea ecx, [ebp - 0x2410]
push ecx
lea ecx, [ebp - 0x246c]
push ecx
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x43ba0c
lea eax, [ebp - 0x2458]
push eax
lea eax, [ebp - 0x2010]
push eax
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x43ba12
push dword [ebp - 0x2458]
push 0x4a4568
call fcn.004095cb
push dword [ebp - 0x2458]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x43ba12
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x2450]
call fcn.0043b39a
lea eax, [ebp - 0x2430]
call fcn.0043b39a
mov eax, 0x4a4568
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.00453655
leave
ret