joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453e68
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453e7f
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419658
mov eax, dword [0x4590a0]
cmp word [eax + 2], 0
jne 0x453ea7
mov eax, dword [0x4590a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004555d0
mov eax, dword [0x45914c]
cmp word [eax + 2], 0
jne 0x453ec1
mov eax, dword [0x45914c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004557c8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4118bc]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4118bc]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bb94]
call fcn.00422f0c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454048
mov eax, dword [0x458fc4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004232dc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455d68
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x458fc4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c2fc
test eax, eax
je 0x453fb6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004084e4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c324
test eax, eax
je 0x453fca
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x458eac]
cmp byte [eax], 0
jne 0x453ffe
mov eax, ebx
call fcn.00454170
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00455f44
mov eax, ebx
call fcn.00456908
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45403e
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4543f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45abdc]
cmp dword [eax + 0x30], 0
je 0x45449a
cmp dword [ebx + 0x94], 0
jne 0x454494
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454380
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454494
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45445a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454494
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413c24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454469
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454ffc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455031
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x45503e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456120
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456161
mov eax, esi
call fcn.0043c858
test al, al
je 0x456161
mov eax, dword [ebx + 0x84]
call fcn.0043c554
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456161
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c554
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x407410
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55a53c]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x4075cd
push 0x516a34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x55a53c], eax
test eax, eax
jne 0x4075cd
push eax
push 0x104
lea ecx, [ebp - 0x230]
call fcn.00405020
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
test ecx, ecx
jne 0x4074cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004055f0
jmp 0x4075b2
mov eax, dword [ebp - 0x220]
cmp ecx, eax
ja 0x4074f8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], ecx
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x407508
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x230]
call fcn.00409770
movups xmm0, xmmword [ebp - 0x230]
xor eax, eax
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.004055f0
cmp dword [ebp - 0x238], 0
jbe 0x4075b2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x516a34
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x55a53c], eax
lea ecx, [ebp - 0x248]
call fcn.004055f0
mov eax, dword [0x55a53c]
test eax, eax
jne 0x4075cd
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
Function at 0x40ca00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55a54c]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x40cbbd
push 0x516a34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x55a54c], eax
test eax, eax
jne 0x40cbbd
push eax
push 0x104
lea ecx, [ebp - 0x230]
call fcn.00405020
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
test ecx, ecx
jne 0x40cabc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004055f0
jmp 0x40cba2
mov eax, dword [ebp - 0x220]
cmp ecx, eax
ja 0x40cae8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], ecx
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x40caf8
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x230]
call fcn.00409770
movups xmm0, xmmword [ebp - 0x230]
xor eax, eax
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.004055f0
cmp dword [ebp - 0x238], 0
jbe 0x40cba2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x516a34
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x55a54c], eax
lea ecx, [ebp - 0x248]
call fcn.004055f0
mov eax, dword [0x55a54c]
test eax, eax
jne 0x40cbbd
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
Function at 0x40d2d0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a986
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x554418]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x40d30c
xor eax, eax
jmp 0x40d375
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004d3ba0
add esp, 0xc
call fcn.0040da40
push str.QuickSeeTray.exe
test al, al
lea eax, [ebp - 0x218]
push esi
push eax
je 0x40d391
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x21c]
call fcn.0040ea90
push edi
push ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
push 0x516ca0
lea ecx, [ebp - 0x21c]
call fcn.004101b0
lea ecx, [ebp - 0x21c]
mov ebx, eax
call fcn.0040f690
mov eax, ebx
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.0043f0c9
mov esp, ebp
pop ebp
ret
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d373
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x40d4ad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
test edi, edi
je 0x40d3ff
push edi
push eax
lea eax, [ebp - 0x21c]
push 0x516d14
push eax
call fcn.0040d5d0
add esp, 0x10
jmp 0x40d414
push eax
lea eax, [ebp - 0x21c]
push 0x516d24
push eax
call fcn.0040d5d0
add esp, 0xc
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x40d435
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040d550
mov esi, dword [ebp - 0x21c]
lea eax, [edi + edi]
push eax
push esi
push 1
push 0
push 0x516ca0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esi - 8]
mov ebx, eax
push esi
call fcn.004da655
add esp, 8
test eax, eax
js 0x40d4a3
cmp eax, dword [esi - 8]
jg 0x40d4a3
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40d373
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40d373
push 0x80070057
call fcn.00406290
push 0x80004005
call fcn.00406290
int3
Function at 0x414370
Capabilities:
Check if file exists
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1062c
call fcn.0043f200
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x414]
xor esi, esi
push eax
push 0x5540ac
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp dword [0x5540c0], esi
je 0x414442
push ebx
push str.ntdll.dll
mov dword [ebp - 0x10628], esi
xor ebx, ebx
mov dword [ebp - 0x1062c], esi
mov dword [ebp - 0x10624], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41443b
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41440b
lea ecx, [ebp - 0x10624]
push ecx
lea ecx, [ebp - 0x1062c]
push ecx
lea ecx, [ebp - 0x10628]
push ecx
call eax
movzx eax, word [ebp - 0x10624]
lea ebx, [esi + 1]
mov dword [ebp - 0x10624], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x41443b
mov eax, dword [ebp - 0x10628]
cmp eax, 6
jne 0x41442c
cmp dword [ebp - 0x1062c], 4
je 0x414431
jmp 0x41443b
cmp eax, 0xa
jb 0x41443b
mov dword [0x55a8ec], 1
mov dword [0x5540c0], esi
pop ebx
cmp dword [0x55a8ec], esi
je 0x414456
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov eax, str.SOFTWAREClassesCLSID_sInprocServer32
jmp 0x414460
mov edi, SysReAllocString
mov eax, str.CLSID_sInprocServer32
lea ecx, [ebp - 0x414]
push ecx
push eax
lea eax, [ebp - 0x620]
push 0x104
push eax
call fcn.00414d60
add esp, 0x10
call fcn.004145a0
movzx eax, al
lea ecx, [ebp - 0x1062c]
neg eax
mov dword [ebp - 0x1062c], esi
push ecx
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x620]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41458a
mov edi, dword [ebp - 0x1062c]
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004d3ba0
add esp, 0xc
mov dword [ebp - 0x10628], 0x208
lea eax, [ebp - 0x10628]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x10624]
push eax
push 0
push 0x51699c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41457f
mov eax, dword [ebp - 0x10624]
cmp eax, 1
je 0x414514
cmp eax, 2
jne 0x41457f
mov eax, dword [ebp - 0x10628]
test eax, eax
je 0x414530
test al, 1
jne 0x41457f
shr eax, 1
cmp word [ebp + eax*2 - 0x20e], si
je 0x414539
jmp 0x41457f
xor eax, eax
mov word [ebp - 0x20c], ax
push 0xfffe
lea eax, [ebp - 0x10620]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x10620]
push 0x7ffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x10620]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
cmovne esi, ecx
test edi, edi
je 0x41458a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
Function at 0x4146a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b27b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push 0x5177a4
push eax
call esi
call fcn.004145a0
test al, al
mov edx, str.QsShell.dll
mov ecx, str.QsShell64.dll
lea eax, [ebp - 0x218]
cmove ecx, edx
push ecx
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414870
mov eax, dword [0x55a51c]
test al, 1
jne 0x414789
or eax, 1
mov dword [0x55a51c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x514e10
mov dword [0x55a510], 0x5169a4
mov dword [0x55a514], eax
mov byte [0x55a518], 0
call fcn.0043f0b4
mov eax, dword [0x55a51c]
add esp, 4
test al, 2
jne 0x4147e5
or eax, 2
mov dword [0x55a520], 0x5169bc
mov dword [0x55a51c], eax
xor eax, eax
push 0x514e40
mov dword [0x55a524], 0x55a510
mov dword [0x55a534], 2
mov dword [0x55a52c], 0
mov dword [0x55a530], 0
mov dword [0x55a538], eax
mov dword [0x55a528], 0x55a520
call fcn.0043f0b4
add esp, 4
mov eax, dword [0x55a520]
mov ecx, 0x55a520
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, str._u__s___s_
mov dword [ebp - 4], 0
mov eax, 0x516d14
cmove eax, ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040d5d0
mov esi, dword [ebp - 0x21c]
push 0
push 0
push 0
push 0x1388
push 1
push 0
push esi
push str.regsvr32.exe
push 0
call fcn.00437440
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41486b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret 4
Function at 0x415c60
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b4d9
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x554418]
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 esi, ecx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], esi
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x415dcd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x415dd7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x415d3b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5178b4
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.0040dd40
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x516ca0
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415d92
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x5178b4
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 4]
call fcn.0040dd40
mov eax, esi
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.0043f0c9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406290
push 0x80004005
call fcn.00406290
int3

Function at 0x415df0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b518
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], esi
xorps xmm0, xmm0
push dword [ecx]
movups xmmword [ebp - 0x30], xmm0
push 0xf
push eax
push 0x5179bc
push str.ActiveCreatShortcut
push str.Default
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x415ea0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
mov ecx, esi
test eax, 0xffff0000
jne 0x415e7c
movzx eax, ax
push eax
call fcn.0040daf0
jmp 0x415e82
push eax
call fcn.0040dd40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406290
int3
Function at 0x416420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.0043f200
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.QuickSeeImg.exe
push dword [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
call esi
push 0x800
lea eax, [ebp - 0xa0c]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0xa0c]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x120c]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0xa0c]
push 0x517ae4
push eax
lea eax, [ebp - 0x120c]
push eax
call esi
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x120c]
push eax
push str.__fromdesktop
lea eax, [ebp - 0x20c]
push eax
push 0x516ca0
call fcn.00416c20
mov ecx, dword [ebp - 4]
add esp, 0x1c
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop esi
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret

Function at 0x416500
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x414]
push str.QuickSeeImg.exe
push dword [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
call esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x516ca0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41659e
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x517ae4
push eax
lea eax, [ebp - 0xc14]
push eax
call esi
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc14]
push eax
push str.__fromstartmenu
lea eax, [ebp - 0x414]
push eax
push 0x516ca0
call fcn.00416c20
mov ecx, dword [ebp - 4]
add esp, 0x1c
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop esi
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
Function at 0x416610
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x516ca0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416682
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x517b44
push eax
lea eax, [ebp - 0xc14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x414]
push str.uninst.exe
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 1
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc14]
push eax
push 0
lea eax, [ebp - 0x414]
push eax
push 0x517b7c
call fcn.00416c20
mov ecx, dword [ebp - 4]
add esp, 0x1c
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop edi
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret