joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc5e1
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x64ef64]
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 ebx, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], eax
call fcn.00413950
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x4146db
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x4146b2
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0x224], 7
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.00408230
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x240]
cmp eax, 8
jb 0x4146fd
inc eax
lea ecx, [ebp - 0x254]
push eax
push dword [ebp - 0x254]
call fcn.00408aa0
mov eax, dword [0x61011c]
lea esi, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
mov dword [ebp - 0x18], eax
mov eax, dword [0x610120]
cmovae esi, dword [ebp - 0x238]
push 0x208
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00599690
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005adc8a
add esp, 4
call fcn.005adc69
cdq
mov ecx, 0x1a
idiv ecx
add word [ebp - 0x18], dx
call fcn.005adc69
cdq
mov ecx, 0x1a
idiv ecx
add word [ebp - 0x16], dx
call fcn.005adc69
cdq
mov ecx, 0x1a
idiv ecx
lea eax, [ebp - 0x220]
add word [ebp - 0x14], dx
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4147ba
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x60c0f0
mov word [edi], ax
call fcn.004088c0
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x41482e
inc ecx
push ecx
jmp 0x41481d
cmp word [ebp - 0x220], 0
jne 0x4147c8
xor eax, eax
jmp 0x4147e0
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4147d1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea esi, [ebx + 4]
push eax
mov ecx, esi
call fcn.004088c0
xor eax, eax
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push esi
mov word [edi], ax
call fcn.004084d0
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x41482e
inc eax
push eax
push dword [ebp - 0x238]
lea ecx, [ebp - 0x238]
call fcn.00408aa0
mov eax, edi
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.0054af65
mov esp, ebp
pop ebp
ret 8
Function at 0x414ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x218], eax
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x414fff
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
push 0
push eax
call fcn.00599690
add esp, 0xc
mov dword [ebp - 0x210], 0x208
cmp dword [edi + 0x14], 8
jb 0x414f03
mov eax, dword [edi]
jmp 0x414f05
mov eax, edi
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push 0
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call ebx
test eax, eax
jne 0x414f76
cmp word [ebp - 0x20c], ax
jne 0x414f37
xor ecx, ecx
jmp 0x414f4f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414f40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004088c0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xea
jne 0x414fff
mov eax, dword [ebp - 0x210]
mov ecx, dword [esi + 0x10]
shr eax, 1
inc eax
cmp eax, ecx
ja 0x414fae
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x414fa4
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x414fba
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x414fba
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00409320
cmp dword [esi + 0x14], 8
jb 0x414fc2
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x414fca
mov edi, dword [edi]
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x218]
push 0
push edi
push dword [eax + 8]
call ebx
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054af65
mov esp, ebp
pop ebp
ret 8
Function at 0x415020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc658
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x64ef64]
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 ebx, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 8], eax
je 0x4150cd
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004084d0
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004148d0
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
jb 0x415097
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x41509f
mov edi, dword [edi]
push eax
push esi
push 1
push 0
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
neg esi
sbb esi, esi
cmp ecx, 8
jb 0x4150ca
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408aa0
lea eax, [esi + 1]
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.0054af65
mov esp, ebp
pop ebp
ret 8

Function at 0x415220
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x41522e
mov eax, dword [eax]
push eax
push dword [ecx + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x415247
cmp eax, 2
je 0x415247
xor eax, eax
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
Function at 0x415250
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc69e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x415288
mov eax, dword [esi]
jmp 0x41528a
mov eax, esi
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x41537b
cmp eax, 2
je 0x41537b
push 0x20006
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
push esi
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004153d0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x4152e4
mov esi, dword [esi]
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x4152f7
lea esi, [eax + 1]
jmp 0x41535d
push str.main
lea ecx, [ebp - 0x40]
call fcn.004089c0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00411240
push esi
mov byte [ebp - 4], 2
push str.RegUtil::DeleteTree_Failed__d_r_n
push dword [eax]
call fcn.00411610
add esp, 0xc
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x415353
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x415353
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x415353
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.00405540
xor esi, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x41536d
push eax
call edi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x415377
push eax
call edi
mov eax, esi
jmp 0x415380
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x415950
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x11c
mov esi, ecx
push 0
push esi
call fcn.00599690
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4159e8
cmp dword [esi + 4], 6
push ebx
lea ebx, [esi + 4]
jae 0x41598d
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push edi
push str.ntdll.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x4159ad
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x4159d7
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
push ebx
call ecx
xor eax, eax
mov dword [ebp - 4], 1
mov word [esi + 0xe], ax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x417470
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00599690
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x4174ec
xor ecx, ecx
jmp 0x417504
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4174f5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004088c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054af65
mov esp, ebp
pop ebp
ret

Function at 0x419b30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419b74
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
mov dword [ebp - 0x234], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x419bba
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp edi, dword [ebp - 0x228]
je 0x419baf
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x419b97
jmp 0x419bb9
mov dword [ebp - 0x234], 1
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x419c50
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x64ef64]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x419c9a
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x419cab
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 4]
push 0
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
test eax, eax
je 0x419c94
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x514
setne cl
mov eax, ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0054af65
mov esp, ebp
pop ebp
ret

Function at 0x421b39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x421b7e
call fcn.0041b502
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421b7e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x421b9a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042bca1
mov ebx, eax
test edi, edi
je 0x421b98
test esi, esi
je 0x421b98
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422583
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x422641
cmp dword [esi + 0x20], 0
je 0x422641
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422641
cmp dword [ebp + 8], 0
je 0x422641
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0041b502
push 0x5ce078
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x422612
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x422641
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0042ca19
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x422632
test edi, edi
je 0x422632
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x42263d
mov ecx, esi
call fcn.00422326
mov eax, ebx
jmp 0x422643
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426b4a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5c0b31
call fcn.0054b79b
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x426b70
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x426bcf
call fcn.0041cf6d
push eax
lea ecx, [ebp - 0x10]
call fcn.0041b106
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.0054b75e
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005a187e
push eax
call fcn.0041a73c
add esp, 0x14
test esi, esi
je 0x426bc2
push esi
call fcn.005a1915
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0041b748
mov eax, ebx
call fcn.0054b764
ret 8
Function at 0x429089
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00426a94
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4290c5
call fcn.004292ab
mov dword [esi + 0xc], 1
jmp 0x4290ca
call fcn.004292ab
cmp dword [esi], 0
je 0x429113
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4290ed
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0041be26
jmp 0x4290fe
push 0xff
mov ecx, esi
call fcn.0041b6cb
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041be49
jmp 0x429137
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x429137
push dword [esi]
push dword [ebp - 4]
call fcn.004288bd
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x429200
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004292ab
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x429248
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041be26
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041be49
jmp 0x429253
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004288bd
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42d066
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x42d091
cmp dword [ebx + 0x80], 0
jne 0x42d091
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0041b502
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0042d324
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42d0cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041b502
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42d102
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0042d123
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42f271
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x42f28b
mov edi, dword [esi + 0xc]
jmp 0x42f2cb
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42f2a4
call fcn.00429f63
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42f2b9
call fcn.00429f63
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42f2cb
call fcn.00429f63
call fcn.0041b502
cmp dword [eax + 0x3c], 0
je 0x42f2e0
push edi
mov ecx, ebx
call fcn.0042e9aa
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042f4bd
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42f309
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x42f315
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x453be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x453bf9
call fcn.0041b502
mov esi, dword [eax + 0xc]
push 0x5d5774
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x453c4f
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x453c4e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x453c2f
xor esi, esi
jmp 0x453c45
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00453c57
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4e9340
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x5c5358
call fcn.0054b7cf
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0041d046
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x60c0ec
call fcn.0042c0c7
cmp eax, 0xffffffff
jne 0x4e940b
push 0
push 0x5d5730
lea ecx, [ebp - 0x4d0]
call fcn.0042c0c7
cmp eax, 0xffffffff
jne 0x4e940b
push 0
push 0x5cf0b0
lea ecx, [ebp - 0x4d0]
call fcn.0042c0c7
cmp eax, 0xffffffff
jne 0x4e940b
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0041d046
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4e93e8
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054b75e
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.0041b748
jmp 0x4e9443
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0041c5f0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0041b748
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4e9431
mov edi, dword [ebp - 0x4cc]
jmp 0x4e9443
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054b75e
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0041b748
mov eax, edi
call fcn.0054b779
ret
Function at 0x5509a3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
lea eax, [ebp - 0x210]
push esi
mov esi, dword [ebp + 8]
push 0x20a
push 0
push eax
call fcn.00599690
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.InstallerYQS.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054af65
mov esp, ebp
pop ebp
ret

Function at 0x551cd1
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x551cf4
or esi, 2
push 1
call edi
test ax, ax
jns 0x551d00
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x551d0c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x551d18
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x558279
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5582ab
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8