joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ebd0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x104
push eax
mov dword [ebp - 0x418], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4e53b0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4e53cc
push eax
call fcn.00402dc0
lea eax, [ebp - 0x20c]
push eax
push 0x4e53e8
call fcn.0041ed10
add esp, 0x18
test al, al
jne 0x41ece9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x41ece9
cmp byte [ebp + 0xc], 0
je 0x41ec54
push 0
jmp 0x41ecf0
push 0x4e53b0
lea eax, [ebp - 0x414]
push 0x4e5400
push eax
call fcn.00402dc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
push 0x4e53e8
call fcn.0041ed10
add esp, 8
test al, al
jne 0x41ece9
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4e53b0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4e3f10
push eax
call fcn.00402dc0
lea eax, [ebp - 0x20c]
push eax
push 0x4e53e8
call fcn.0041ed10
add esp, 0x18
test al, al
je 0x41ec4d
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.0041e020
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a71aa
mov esp, ebp
pop ebp
ret

Function at 0x41ed10
Capabilities:
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x4e52a4
push eax
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41edbc
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x80
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4e52b4
lea eax, [ebp - 8]
push ebx
push eax
call fcn.004ba366
add esp, 0xc
push 0x82
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41edbc
push eax
push edi
push 1
push esi
call fcn.004ba7c7
push dword [ebp - 8]
call fcn.004ba4d2
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x41edd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 4
push eax
push 0x4e5470
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41ee2b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4e54f0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x4265a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 8], edi
mov dword [edi], eax
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
call fcn.004a27e0
push eax
push esi
call fcn.004a29e0
mov dword [edi + 0x10], eax
add esp, 0xc
cmp dword [edi], 0
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x28], 0
je 0x4266a0
test ebx, ebx
je 0x42662e
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
jmp 0x426646
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [edi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
push 2
sar eax, 1
push ebx
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov dword [edi + 0x28], esi
test esi, esi
je 0x426687
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x426687
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x426667
lea eax, [ebp - 8]
push eax
push 0
push edi
push 0x419a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3e22
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x517b80]
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 edi, ecx
mov dword [ebp - 0x14], edi
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov byte [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x14], 0x186a0
call fcn.00426010
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0xc
mov byte [ebp - 4], 4
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.004a71b8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x44], eax
push 0xc
mov byte [ebp - 4], 5
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.004a71b8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x4c], eax
lea ebx, [edi + 0x54]
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a71b8
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, dword [ebx + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
imul ecx
mov byte [ebp - 4], 8
sar edx, 2
mov eax, edx
mov dword [ebp - 0x14], 0xa
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
jae 0x4339ad
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004336d0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0x12
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
lea esi, [edi + 0x84]
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], 0
lea esi, [edi + 0xb0]
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea esi, [edi + 0xe0]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a71b8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
push 0x18
mov byte [ebp - 4], 0xf
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004a71b8
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 8], eax
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.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x43ece0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d46c7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x517b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or edi, 0xffffffff
mov eax, 2
cmp dword [ebp + 0x14], 0x9c43
push 0x138
cmove edi, eax
call fcn.004a71b8
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x43ed53
push 0x138
push 0
push esi
call fcn.004aa220
add esp, 0xc
mov ecx, esi
push edi
push dword [ebp + 8]
call fcn.00436a50
mov esi, eax
jmp 0x43ed55
xor esi, esi
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x43ed72
call fcn.004a893c
mov dword [esi + 0x14], eax
test eax, eax
jne 0x43ed72
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x43edd2
push 0
push 0
push eax
call fcn.004a8a3e
lea edi, [esi + 8]
test edi, edi
je 0x43edf0
test esi, esi
je 0x43edf0
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x517170
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x517188]
mov dword [edi + 8], eax
push 0x517170
mov dword [0x517188], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp + 0x10]
push 0x43ef00
push dword [ebp + 0xc]
push 0xb6
push dword [0x52f1b0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
push 0xc0000005
call fcn.0043fc90
int3
Function at 0x44f0c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d589d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
lea ecx, [edi + 0x20]
push 1
call fcn.0044e960
push 0x52dc4c
mov dword [ebp - 0x24], 0x52dc4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x52dc64
mov dword [ebp - 4], 0
cmp ecx, 0x52db58
je 0x44f135
mov edx, dword [0x52db58]
mov eax, dword [0x52db5c]
sub eax, edx
sar eax, 5
push eax
push edx
call fcn.00425410
mov al, byte [0x52db64]
mov ecx, 0x52dc4c
mov byte [0x52dc70], al
mov eax, dword [0x52db68]
mov dword [0x52dc74], eax
call fcn.00425320
push 0x52dc4c
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x52dc4c
push 0x44a710
push esi
push 0x4ec354
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 0x484
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x484
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x418
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x4ec4b0
push dword [0x52e3b0]
push dword [edi + 4]
call fcn.00490ba0
add esp, 0xc
push 0x446
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3f4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0x800b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
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.004a71aa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450440
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5dbd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.004a2a40
test eax, eax
jne 0x450498
push 0x30
push 0x4e4e40
push 0x4ec8a0
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x45061a
push 0x3c
lea eax, [ebp - 0x64]
mov dword [ebp - 0x6c], 0x44
push 0
push eax
mov dword [ebp - 0x68], 0
call fcn.004aa220
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 0x4ec924
movups xmmword [ebp - 0x28], xmm0
call fcn.004a27e0
push eax
push 0x4ec924
call fcn.004a29e0
add esp, 0x18
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x70]
call fcn.004a24b0
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x450500
call fcn.004a2a20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004a2380
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4505f8
push 0x4ec948
mov dword [ebp - 0x18], eax
call fcn.004a27e0
push eax
push 0x4ec948
call fcn.004a29e0
add esp, 0xc
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
call fcn.004a24b0
mov esi, eax
push 0x4ec97c
mov byte [ebp - 4], 7
call fcn.004a27e0
push eax
push 0x4ec97c
call fcn.004a29e0
add esp, 0xc
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004a24b0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x4505a7
call fcn.004a2a20
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x4505b7
call fcn.004a2a20
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x4505c7
call fcn.004a2a20
push 0x30
push 0x4e4e40
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.004a2380
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x4505f2
call fcn.004a2a20
mov byte [ebp - 4], 0x11
jmp 0x45060e
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45061a
call fcn.004a2a20
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x14
test ecx, ecx
je 0x45062d
call fcn.004a2a20
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.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x451210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push 0x101f
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1200
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
xor ecx, ecx
mov edx, 4
lea eax, [ebx + ebx]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7559
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebx*8]
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0xffffffff
push ecx
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp - 0x14]
test eax, eax
jne 0x451302
cmp dword [ebp - 8], 3
jne 0x451302
lea eax, [ebx*8]
cmp dword [ebp - 0xc], eax
jne 0x451302
lea eax, [edi + ebx*4]
push eax
push ebx
push 0x103a
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
test ebx, ebx
je 0x4512fe
lfence
nop dword [eax]
mov eax, dword [edi + esi*4]
test eax, eax
je 0x4512f9
push 0x60
push dword [0x51d68c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
movzx eax, ax
push eax
push esi
push 0x101e
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, ebx
jb 0x4512d0
mov byte [ebp - 0xd], 1
push edi
call fcn.004a71f6
mov ecx, dword [ebp - 4]
add esp, 4
mov al, byte [ebp - 0xd]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret

Function at 0x451320
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push 0x101f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1200
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
xor ecx, ecx
mov edx, 4
mov dword [ebp - 4], edi
lea eax, [edi + edi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7559
add esp, 4
mov ebx, eax
lea ecx, [ebx + edi*4]
push ecx
push edi
push 0x103b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
test edi, edi
je 0x4513b3
lfence
mov edi, dword [0x51d68c]
push 0
push esi
push 0x101d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, dword [ebp - 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x451387
lea eax, [edi*8]
push eax
push ebx
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call fcn.004a71f6
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451d70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5ebd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x517b80]
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, dword [ebp + 8]
test esi, esi
je 0x451e49
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x451e49
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push esi
push eax
call fcn.00451e70
add esp, 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004a2a40
lea eax, [eax*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004a2a40
lea ecx, [ebp - 0x14]
lea eax, [eax*2 + 2]
push eax
call fcn.004a2380
push eax
push esi
call fcn.004aaaa0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x451e49
call fcn.004a2a20
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.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x460c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d65db
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.004aa220
add esp, 0xc
mov dword [ebp - 0x420], 0
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x428], esi
test esi, esi
jne 0x460cd8
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x428], eax
test esi, esi
jne 0x460cd8
call fcn.00454160
mov edi, eax
jmp 0x460df5
push dword [ebp - 0x424]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x460cf6
call fcn.00454160
jmp 0x460de8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x460d14
call fcn.00454160
jmp 0x460de8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x42c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x460d35
mov edi, 0x8007000e
jmp 0x460dea
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x460e2e
jb 0x460d53
cmp eax, 0xffffffff
ja 0x460e2e
cmp eax, 0x400
jbe 0x460d6b
push eax
lea ecx, [ebp - 0x420]
lfence
call fcn.00437280
jmp 0x460d91
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], eax
jmp 0x460d91
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x460da8
mov edi, 0x8007000e
jmp 0x460dea
push edi
lfence
push dword [ebp - 0x420]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x460dcb
call fcn.00454160
jmp 0x460de8
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.00460a70
mov edi, eax
test esi, esi
je 0x460df5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x460e0e
lea ecx, [ebp - 0x420]
call fcn.00438690
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 - 0x14]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
lfence
call fcn.0040b680
int3
Function at 0x466c80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x466cfe
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.004a2a40
lea eax, [eax*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, edi
mov esi, eax
call fcn.004a2a40
mov ecx, edi
lea eax, [eax*2 + 2]
push eax
call fcn.004a2380
push eax
push esi
call fcn.004aaaa0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x467210
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0xf003f
push 0
push edi
push esi
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4672a3
nop dword [eax]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.00467210
add esp, 8
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x467270
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.004a71aa
mov esp, ebp
pop ebp
ret