joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100221ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10022205
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100221ac
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100221bb
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10427e5e
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002220c
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10009082
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100222ab
add edi, 4
add eax, 2
dec ecx
jne 0x100221f1
call 0x10022258
loope 0x1002224e
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100222a8
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100222b9
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002226c
cmp eax, ecx
ja 0x1002226c
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100222f6
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100222ec
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10009561
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100221bb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10022205
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100221ac
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100221bb
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10427e5e
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002220c
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10009082
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100222ab
add edi, 4
add eax, 2
dec ecx
jne 0x100221f1
call 0x10022258
loope 0x1002224e
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100222a8
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100222b9
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002226c
cmp eax, ecx
ja 0x1002226c
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100222f6
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100222ec
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10009561
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40b9c5
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x496ab0]
xor eax, ebp
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
jne 0x40b9e5
xor eax, eax
jmp 0x40bbd6
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x47d030
push 0x17
push 0
push 0x47e220
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x40ba19
xor eax, eax
jmp 0x40bbd6
and dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x47e1e0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x40bbb6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x14]
and dword [ebp - 0x21c], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0xc]
test eax, eax
jl 0x40bba1
cmp dword [ebp - 0x21c], 0
je 0x40bba1
cmp dword [ebp - 0x14], 0
je 0x40bb9c
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x220]
push eax
push 0x4861d8
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0x24]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x40bb05
push 8
pop eax
mov word [ebp - 0x230], ax
push 0
lea eax, [ebp - 0x230]
push eax
push str.FriendlyName
mov eax, dword [ebp - 0x220]
mov eax, dword [eax]
push dword [ebp - 0x220]
call dword [eax + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x220], 0
je 0x40bafe
mov eax, dword [ebp - 0x220]
mov eax, dword [eax]
push dword [ebp - 0x220]
call dword [eax + 8]
and dword [ebp - 0x220], 0
cmp dword [ebp - 0xc], 0
jl 0x40bb87
xor eax, eax
mov word [ebp - 0x218], ax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
push dword [ebp - 0x234]
push 0x100
lea eax, [ebp - 0x218]
push eax
call fcn.0044e9f3
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call fcn.0044d411
pop ecx
pop ecx
test eax, eax
jne 0x40bb87
lea eax, [ebp - 8]
push eax
push 0x47cfc0
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x40bb87
cmp dword [ebp - 0x14], 0
je 0x40bb81
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 8]
and dword [ebp - 0x14], 0
jmp 0x40bba1
cmp dword [ebp - 0x14], 0
je 0x40bb98
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 8]
and dword [ebp - 0x14], 0
jmp 0x40ba56
cmp dword [ebp - 0x10], 0
je 0x40bbb2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 8]
and dword [ebp - 0x10], 0
cmp dword [ebp - 4], 0
je 0x40bbc7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044a605
leave
ret
Function at 0x40f56c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40f58b
xor eax, eax
jmp 0x40f606
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40f5a1
xor eax, eax
jmp 0x40f606
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x40f5e9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x40f5e9
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x40f5c2
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x40f5f5
xor eax, eax
jmp 0x40f606
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x40f603
xor eax, eax
jmp 0x40f606
mov eax, dword [ebp - 4]
leave
ret
Function at 0x412797
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x496ab0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x250], ecx
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 4]
or eax, 0x2001f
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x250]
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.0041271a
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4127ff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x14]
call fcn.004125a9
mov eax, dword [ebp - 0x224]
jmp 0x4128aa
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x412864
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x14]
call fcn.00412797
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41285b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x14]
call fcn.004125a9
mov eax, dword [ebp - 0x228]
jmp 0x4128aa
mov dword [ebp - 4], 0x100
jmp 0x412806
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x14], 0
je 0x412884
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x244], eax
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
push dword [ebp + 8]
mov ecx, dword [ebp - 0x250]
call fcn.004125da
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004125a9
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0044a605
leave
ret 4
Function at 0x414535
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
mov ecx, dword [ebp - 0x14]
call fcn.004146ab
mov dword [ebp - 8], eax
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x224]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x18]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x4145af
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.00417cad
pop ecx
leave
ret

Function at 0x4145b1
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x496ab0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.0044a620
add esp, 0xc
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0044a620
add esp, 0xc
push str..CapFrameData
lea eax, [ebp - 0x418]
push eax
call fcn.0044efed
pop ecx
pop ecx
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x414681
push 0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x414681
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x47b770
lea eax, [ebp - 0x418]
push eax
call fcn.0044efed
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x210]
push eax
push str.Error:_Create_directory_fail__file_will_save_to__C:_
push dword [0x4981c8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x104
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebp - 0x41c]
add eax, 0x1c
push eax
call fcn.0044f858
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a605
leave
ret
Function at 0x4170e9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x496ab0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x80
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x128], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x499a84]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x114]
dec eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x12c], eax
push 0
push dword [ebp - 0x128]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x138]
push eax
push 2
push 1
push 4
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x11c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x118]
mov dword [ebp - 0x10c], eax
push dword [0x499a8c]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x124], eax
push 0xf00021
push dword [ebp - 0x10c]
push 1
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_PatBlt]
push 0xf00021
push 1
push dword [ebp - 0x13c]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_PatBlt]
push dword [0x499a88]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xf00021
mov eax, dword [ebp - 0x10c]
dec eax
push eax
push 1
mov eax, dword [ebp - 0x118]
inc eax
push eax
mov eax, dword [ebp - 0x114]
dec eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_PatBlt]
push 0xf00021
push 1
mov eax, dword [ebp - 0x13c]
dec eax
push eax
mov eax, dword [ebp - 0x110]
dec eax
push eax
mov eax, dword [ebp - 0x11c]
inc eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_PatBlt]
cmp dword [ebp - 0x120], 0
je 0x4172ad
push dword [ebp - 0x120]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x124], 0
je 0x4172c5
push dword [ebp - 0x124]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a605
leave
ret
Function at 0x423478
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4234bf
call fcn.0042717e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4234bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4234db
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00422ff0
mov esi, eax
test edi, edi
je 0x4234d9
test ebx, ebx
je 0x4234d9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x425ac4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x477ca1
call fcn.0044fb38
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x425ae9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x425b2f
lea ecx, [ebp - 0x10]
call fcn.004187e3
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041817e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402855
mov eax, esi
call fcn.0044fc10
ret 8

Function at 0x427b5e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x476d75
call fcn.0044fb38
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00418dc3
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x427bc0
call fcn.00426929
cmp eax, 1
jne 0x427bc0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00427329
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0041a2d6
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402855
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402855
mov eax, esi
call fcn.0044fc10
ret 0x10
Function at 0x427be9
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x476d75
call fcn.0044fb38
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00418dc3
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x427c4b
call fcn.00426929
cmp eax, 1
jne 0x427c4b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00427329
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0041a2d6
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402855
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402855
mov eax, esi
call fcn.0044fc10
ret 0x14

Function at 0x427c77
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x476d75
call fcn.0044fb38
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00418dc3
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x427cd9
call fcn.00426929
cmp eax, 1
jne 0x427cd9
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00427329
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0041a2d6
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402855
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402855
mov eax, esi
call fcn.0044fc10
ret 8

Function at 0x42daa9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42dacd
cmp dword [edi + 0x54], 0
jne 0x42dacd
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042717e
mov esi, dword [eax + 0xc]
push 5
push ebx
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 ebx, eax
push ebx
mov ecx, edi
call fcn.0042da6a
push ebx
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 0x44a605
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x496ab0]
jne 0x44a60f
repz ret
jmp fcn.004510ca
Function at 0x4612ff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004531de
and dword [ebp - 4], 0
cmp dword [0x49c450], 0
mov ebx, eax
jne 0x4613b0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x461461
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x461461
push eax
call fcn.0045316c
mov dword [esp], 0x488f14
push edi
mov dword [0x49c450], eax
call esi
push eax
call fcn.0045316c
mov dword [esp], 0x488f00
push edi
mov dword [0x49c454], eax
call esi
push eax
call fcn.0045316c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49c458], eax
call esi
push eax
call fcn.0045316c
pop ecx
mov dword [0x49c460], eax
test eax, eax
je 0x4613b0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045316c
pop ecx
mov dword [0x49c45c], eax
mov eax, dword [0x49c45c]
cmp eax, ebx
je 0x461408
cmp dword [0x49c460], ebx
je 0x461408
push eax
call fcn.004531e7
push dword [0x49c460]
mov esi, eax
call fcn.004531e7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x461408
test edi, edi
je 0x461408
call esi
test eax, eax
je 0x4613ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4613ff
test byte [ebp - 0xc], 1
jne 0x461408
or dword [ebp + 0x10], 0x200000
jmp 0x461441
mov eax, dword [0x49c454]
cmp eax, ebx
je 0x461441
push eax
call fcn.004531e7
pop ecx
test eax, eax
je 0x461441
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x461441
mov eax, dword [0x49c458]
cmp eax, ebx
je 0x461441
push eax
call fcn.004531e7
pop ecx
test eax, eax
je 0x461441
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49c450]
call fcn.004531e7
pop ecx
test eax, eax
je 0x461461
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x461463
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret