joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414c50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x414c59
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x414c8e
call fcn.00414580
jmp 0x414ca4
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x414ca2
push 0x26
call fcn.00405ee0
add esp, 4
jmp 0x414ca4
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x419740
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00418600
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 0xc], 1
jne 0x4198dd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x4198dd
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419eb0
mov ecx, dword [ebp - 4]
call fcn.00418df0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4197d5
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x4198dd
mov dword [ebp - 0xc], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x4197f5
mov dword [ebp - 0x14], 1
jmp 0x4197fc
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x419835
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
jne 0x419835
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419cc0
jmp 0x41985b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
je 0x41985b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0
jne 0x41985b
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x419877
mov dword [ebp - 0x18], 1
jmp 0x41987e
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x4198b7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x4198b7
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419cc0
jmp 0x4198dd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x4198dd
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
jne 0x4198dd
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x41cb40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 4]
call fcn.00404180
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.00404140
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.0041ca70
lea ecx, [ebp - 8]
call fcn.004042d0
lea ecx, [ebp - 4]
call fcn.00405510
movzx eax, al
test eax, eax
je 0x41cb93
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 4]
call fcn.00404410
push 0x521938
lea ecx, [ebp - 4]
call fcn.00421a40
test eax, eax
jne 0x41cbc8
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404120
lea ecx, [ebp - 4]
call fcn.004042d0
lea ecx, [ebp + 0x10]
call fcn.004042d0
mov eax, dword [ebp + 8]
jmp 0x41cc61
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0049ed70
add esp, 0xc
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x104
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x521958
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x21c]
test ecx, ecx
je 0x41cc42
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 4]
call fcn.00404430
lea ecx, [ebp - 4]
call fcn.00414d90
lea ecx, [ebp - 4]
call fcn.00414cd0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404120
lea ecx, [ebp - 4]
call fcn.004042d0
lea ecx, [ebp + 0x10]
call fcn.004042d0
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4207c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x38
mov byte [ebp - 0x19], 0x35
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x49
mov byte [ebp - 0x15], 0x44
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0x13], 0x2d
mov byte [ebp - 0x12], 0x58
mov byte [ebp - 0x11], 0x48
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 0xf], 0x45
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xd], 0x36
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x38
mov byte [ebp - 9], 0x77
mov byte [ebp - 8], 0x32
mov byte [ebp - 7], 0x78
mov byte [ebp - 6], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f440
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041f8c0
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x422190
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x42224d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4221c3
xor eax, eax
jmp 0x42227b
push 0x5220b4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x5220c0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push 0x5220cc
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push 0x5220dc
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0x5220ec
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x42224d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x422271
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x422271
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x422271
mov dword [ebp - 8], 1
jmp 0x422278
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x422990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x422999
cmp dword [ebp + 0xc], 0
je 0x4229ac
mov dword [ebp - 4], 1
jmp 0x4229b3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x4229c6
mov eax, 0xd
jmp 0x4229f5
xor edx, edx
jne 0x42299d
mov eax, dword [ebp + 0xc]
push eax
call fcn.004bb901
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x424900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
mov byte [ebp - 1], al
push 1
push 0
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 1]
call fcn.00425bf0
mov ecx, eax
call fcn.00405310
push eax
push 0x522204
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004042d0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
mov byte [ebp - 1], al
push 1
push 0
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 1]
call fcn.00425dd0
mov ecx, eax
call fcn.00405310
push eax
push 0x522210
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004042d0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x427810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x4289c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x42afd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00429e20
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 0xc], 1
jne 0x42b16d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x42b16d
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419eb0
mov ecx, dword [ebp - 4]
call fcn.0042a570
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42b065
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x42b16d
mov dword [ebp - 0xc], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x42b085
mov dword [ebp - 0x14], 1
jmp 0x42b08c
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x42b0c5
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
jne 0x42b0c5
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419cc0
jmp 0x42b0eb
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
je 0x42b0eb
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0
jne 0x42b0eb
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x42b107
mov dword [ebp - 0x18], 1
jmp 0x42b10e
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x42b147
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x42b147
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419cc0
jmp 0x42b16d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x42b16d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
jne 0x42b16d
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x42d180
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
push 0x522708
push 0
call fcn.0043aec0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
jne 0x42d1d1
xor eax, eax
mov byte [ebp - 1], al
push 1
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 1]
call fcn.0042e3d0
mov ecx, eax
call fcn.00404490
push eax
push 0x522734
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.004042d0
mov esp, ebp
pop ebp
ret
Function at 0x42d580
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov dword [ebp - 4], 1
push 0x522bb0
lea ecx, [ebp - 0xc]
call fcn.00404140
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 4
push 0x208
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0049ed70
add esp, 0xc
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x104
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x522bd4
push 0x522bec
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42d60a
mov dword [ebp - 4], 2
jmp 0x42d780
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404430
push 0x522c10
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d648
mov dword [ebp - 4], 2
jmp 0x42d780
push 0x208
push 0
lea ecx, [ebp - 0x43c]
push ecx
call fcn.0049ed70
add esp, 0xc
push 0x104
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [0x55ebfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.00404180
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00404140
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00421e60
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.004042d0
lea ecx, [ebp - 8]
call fcn.00404180
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00404140
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00421e60
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.004042d0
lea ecx, [ebp - 8]
call fcn.00405510
movzx ecx, al
test ecx, ecx
je 0x42d6ff
mov dword [ebp - 4], 2
lea ecx, [ebp - 8]
call fcn.004042d0
lea ecx, [ebp - 0x10]
call fcn.004042d0
jmp 0x42d780
lea ecx, [ebp - 0x10]
call fcn.00404490
push eax
lea ecx, [ebp - 8]
call fcn.00404490
push eax
call fcn.00412240
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x42d738
push 0x522c2c
lea ecx, [ebp - 0xc]
call fcn.00404430
mov dword [ebp - 4], 0xffffffff
jmp 0x42d768
cmp dword [ebp - 0x24], 0
jne 0x42d754
push 0x522c30
lea ecx, [ebp - 0xc]
call fcn.00404430
mov dword [ebp - 4], 0
jmp 0x42d768
mov dword [ebp - 4], 1
push 0x522c34
lea ecx, [ebp - 0xc]
call fcn.00404430
lea ecx, [ebp - 8]
call fcn.004042d0
lea ecx, [ebp - 0x10]
call fcn.004042d0
xor edx, edx
jne 0x42d59d
lea ecx, [ebp - 0xc]
call fcn.0042fbc0
push eax
call fcn.0042fc80
mov ecx, eax
call fcn.00431c80
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xc]
call fcn.004042d0
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x42d7b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.0049ed70
add esp, 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x104
mov dword [ebp - 0xc], 0x522c58
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 8]
push eax
push 0x522c7c
mov ecx, dword [ebp - 0xc]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42d892
mov edx, dword [ebp + 8]
push edx
call fcn.0042fc80
mov ecx, eax
call fcn.0041c0b0
call fcn.0042fc80
mov ecx, eax
call fcn.0041c470
push eax
call fcn.0042fd00
mov ecx, eax
call fcn.0040b940
push str.installpkg
call fcn.0042fd00
mov ecx, eax
call fcn.0040b900
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0049ed70
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [0x55ebfc]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.0042fd00
mov ecx, eax
call fcn.0040b960
mov eax, 0xf
jmp 0x42d8ce
mov ecx, 0x562cac
call fcn.00409330
test eax, eax
jne 0x42d8a7
mov eax, 2
jmp 0x42d8ce
push 1
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edx, dword [0x55ebfc]
push edx
call fcn.0042cce0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, 0x562cac
call fcn.004093e0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x42d8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0049ed70
add esp, 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x104
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x522cac
push 0x522cc4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42d93c
mov eax, 2
jmp 0x42d9b2
push str.uninst.dll
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42d972
mov eax, 4
jmp 0x42d9b2
push 0x522d00
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42d99b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 5
jmp 0x42d9b2
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x4309a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov dword [ebp - 8], ecx
push 0
lea ecx, [ebp - 0x18]
call fcn.0040cf40
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040dd10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4309f4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x18]
call fcn.0040d1d0
mov eax, dword [ebp - 0x1c]
jmp 0x430a76
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x430a54
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004309a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x430a4b
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x18]
call fcn.0040d1d0
mov eax, dword [ebp - 0x20]
jmp 0x430a76
mov dword [ebp - 0xc], 0x100
jmp 0x4309fb
lea ecx, [ebp - 0x18]
call fcn.0040d970
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0042f7a0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x18]
call fcn.0040d1d0
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret 4

Function at 0x430b40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x430b9f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x430b6c
mov eax, 1
jmp 0x430bbd
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x430b9d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x430bbd
jmp 0x430bb8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x430bb8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x430bbd
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x430d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov dword [ebp - 0x20], ecx
call fcn.00414ee0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
call fcn.0042dbb0
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.0042df70
lea ecx, [ebp - 0x43c]
call fcn.0042dce0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.004304f0
add esp, 8
mov dword [ebp - 0x14], eax
push 0x60
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x430dbf
push 2
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x430dd2
call fcn.00414580
mov dword [ebp - 8], eax
jmp 0x430ede
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x430dfa
call fcn.00414580
mov dword [ebp - 8], eax
jmp 0x430ede
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x430e1e
call fcn.00414580
mov dword [ebp - 8], eax
jmp 0x430ede
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, dword [ebp - 0xc]
jae 0x430e4c
mov dword [ebp - 8], 0x8007000e
jmp 0x430ede
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
lea ecx, [ebp - 0x43c]
call fcn.0042eed0
lea ecx, [ebp - 0x43c]
call fcn.0042e350
test eax, eax
jne 0x430e76
mov dword [ebp - 8], 0x8007000e
jmp 0x430ede
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [ebp - 0x43c]
call fcn.0042e350
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
call fcn.00414ee0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x430eaf
call fcn.00414580
mov dword [ebp - 8], eax
jmp 0x430ede
lea ecx, [ebp - 0x43c]
call fcn.0042e350
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov word [eax + ecx*2], dx
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x43c]
call fcn.0042e350
push eax
lea ecx, [ebp - 0x38]
call fcn.00430bd0
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x430eee
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x43c]
call fcn.0042e110
lea ecx, [ebp - 0x28]
call fcn.0042e010
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret 0x10