Function at 0x414000
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7008
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x394
mov eax, dword [0x4ec008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push str.userprofile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x370]
call fcn.00477610
lea eax, [ebp - 0x370]
push eax
call fcn.004779d0
cmp eax, 1
jne 0x4141f1
push 0x2c
xor eax, eax
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0
lea ecx, [ebp - 0x38c]
push str.Local_SettingsApplication_Dataiconcache.db
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 7
mov word [ebp - 0x38c], ax
call fcn.004126a0
mov byte [ebp - 4], 1
xor eax, eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414142
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.004126a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38c]
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x3a4]
call fcn.0047a4a0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x250]
cmp eax, esi
je 0x4141c4
mov ecx, eax
call fcn.00412640
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x240], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3a4]
call fcn.00412640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.00412640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38c]
jmp 0x41431c
push 0x1a
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x238]
push str.AppDataLocaliconcache.db
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.004126a0
mov byte [ebp - 4], 4
xor eax, eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 7
mov word [ebp - 0x38c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414272
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x38c]
call fcn.004126a0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x38c]
lea ecx, [ebp - 0x3a4]
call fcn.0047a4a0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x250]
cmp eax, esi
je 0x4142f4
mov ecx, eax
call fcn.00412640
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x240], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3a4]
call fcn.00412640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38c]
call fcn.00412640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00412640
lea ecx, [ebp - 0x250]
call fcn.0048e2c0
test al, al
jne 0x41440a
cmp dword [0x4ec044], 0
je 0x41440a
push 0
mov ecx, 0x4ec040
call fcn.00416d90
mov eax, dword [0x4ec044]
cmp byte [eax + 0x54], 0
je 0x41440a
cmp dword [eax + 0x58], 5
jb 0x41440a
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x371], al
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x238]
push str.Delete_iconcache.db_failed:_d
push eax
call fcn.004785e0
add esp, 0xc
lea eax, [ebp - 0x238]
mov ecx, 0x4ec040
push 0x12e
push str.RC::RCShortcutArrowTask::DeleteShortcutIconCache
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_shortcutarrow_shortcutarrowexe_task_rcshortcutarrowtask.cpp
push eax
push 5
call fcn.00417d50
cmp byte [ebp - 0x371], 0
je 0x4143fb
lea eax, [ebp - 0x238]
mov ecx, 0x4ec040
push eax
call fcn.004180f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00412640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00412640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4c33
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret