joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70383130
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x20
mov ebx, dword [0x70385020]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp ebx, 0x70385020
jne 0x70383162
jmp 0x703831c0
mov ebx, dword [ebx]
cmp ebx, 0x70385020
je 0x703831c0
mov eax, ecx
xor eax, ebx
or eax, edx
jne 0x70383158
movzx eax, byte [0x70385028]
mov edi, eax
test al, 8
jne 0x703831cf
cmp esi, 1
je 0x7038328f
cmp esi, 7
jne 0x70383270
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x10], ecx
test edx, edx
je 0x70383294
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
mov eax, ecx
xor ebx, ebx
mov dword [esp], esi
mov dword [esp + 4], edi
call sym._add_url
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
movzx eax, byte [0x70385028]
xor ebx, ebx
mov edi, eax
test al, 8
je 0x70383177
test edx, edx
jne 0x703832a8
mov dword [esp + 4], ecx
mov dword [esp], 0x7038719c
call sym._wine_dbg_sprintf
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], str.id__s__property__u__value__p__length__lu._n
mov dword [esp + 8], str.HttpSetUrlGroupProperty
mov dword [esp + 4], 0x70385028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
cmp esi, 1
je 0x70383288
movzx eax, byte [0x70385028]
cmp esi, 7
jne 0x70383270
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi + 4]
test al, 8
je 0x7038318f
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Binding_to_queue__p._n
mov dword [esp + 8], str.HttpSetUrlGroupProperty
mov dword [esp + 4], 0x70385028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x70383189
mov ebx, 0x78
test al, 1
jne 0x703832f0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
movzx edi, byte [0x70385028]
and edi, 4
jne 0x703832c8
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
jmp 0x703831e7
mov dword [esp + 0xc], str.Ignoring_logging_property._n
xor ebx, ebx
mov dword [esp + 8], str.HttpSetUrlGroupProperty
mov dword [esp + 4], 0x70385028
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x70383296
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Unhandled_property__u._n
mov dword [esp + 8], str.HttpSetUrlGroupProperty
mov dword [esp + 4], 0x70385028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
Function at 0x70383330
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x30
mov ebx, dword [0x70385020]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
cmp ebx, 0x70385020
jne 0x7038336a
jmp 0x703833d0
mov ebx, dword [ebx]
cmp ebx, 0x70385020
je 0x703833d0
mov eax, ecx
xor eax, ebx
or eax, edx
jne 0x70383360
test byte [0x70385028], 8
jne 0x703833db
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x70383489
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x703833a2
mov dword [esp], edi
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], esi
call sym._add_url
mov edx, eax
test eax, eax
jne 0x703833c1
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x70383515
mov dword [ebx + 0x18], edi
xor edx, edx
mov dword [ebx + 0x1c], esi
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
xor ebx, ebx
test byte [0x70385028], 8
je 0x7038337b
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
test esi, esi
jne 0x703834d8
mov dword [esp + 4], edi
mov dword [esp], 0x7038719c
call sym._wine_dbg_sprintf
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x70383500
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.id__s__url__s__context__s__reserved__lx._n
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 8], str.HttpAddUrlToUrlGroup
mov dword [esp + 4], 0x70385028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x70383386
mov edx, 0x78
test byte [0x70385028], 1
je 0x703833c1
mov dword [esp + 0xc], str.Multiple_URLs_are_not_handled__n
mov dword [esp + 8], str.HttpAddUrlToUrlGroup
mov dword [esp + 4], 0x70385028
mov dword [esp], 0
mov dword [esp + 0x2c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [esp + 0x2c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret 0x18
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
jmp 0x70383407
mov dword [esp + 4], ecx
mov dword [esp], 0x7038719c
call sym._wine_dbg_sprintf
jmp 0x7038343f
mov edx, 0xe
jmp 0x703833c1
Function at 0x70383b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x70383bbb
cmp byte [esi + ebx - 1], 0xa
je 0x70383b8f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x703890a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x402e06
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x40a234], 0
push esi
jne 0x402e3d
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x402e17
mov dword [ecx*4 + 0x40a230], eax
inc ecx
cmp ecx, 0x100
jl 0x402e12
mov esi, dword [esp + 0x10]
test esi, esi
mov eax, dword [esp + 8]
not eax
jbe 0x402e69
mov ecx, dword [esp + 0xc]
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x40a230]
inc ecx
dec esi
jne 0x402e4f
not eax
pop esi
ret 0xc

Function at 0x40100b
Capabilities:
Execute shellcode via indirect call
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x4010ad
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x40102e
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011b8
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401048
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011b8
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x401134
mov word [ebx], 0x5c
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011b8
mov dword [ebp - 0x108], eax
push 0x401023
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4011ad
push 0x3e8
call eax
test eax, eax
je 0x4011ad
push eax
push 0x40
push 0x3000
push 0x10000
push 0
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
je 0x40119a
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x4010a7]
jmp 0x4011be
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x40108c]
jmp 0x4011be
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x40104d]
push 0x10
push 0x4010a7
push eax
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x40321c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4be008], 0x8088405
inc edx
mov dword [ebx + 0x4be008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403978
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4be024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a10
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4039f0
xor eax, eax
push ebp
push 0x4039e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403a2c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4039f0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4be024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4be024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40486c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c204c], 0
je 0x4048cd
cmp word [0x4c2220], 0xd7b2
jne 0x404895
cmp dword [0x4c2228], 0
jbe 0x404895
mov eax, 0x4c221c
call dword [0x4c2238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4048f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4be030], 0
jne 0x4048e9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404a24
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4be034], 0
je 0x404a4a
mov edx, esi
mov eax, ebx
call dword [0x4be034]
jmp 0x404a59
mov eax, 8
call fcn.00402f04
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4c204d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4049ec
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x408f28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408f7a
test eax, edx
je 0x408f7d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408f3d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408f63
add ecx, 4
js 0x408f53
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408f60
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408f89
test edx, edx
jne 0x408f30
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x409b58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f30
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409b71
test al, 0x10
je 0x409b75
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ceb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cef1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b90
jmp 0x40cefa
mov eax, ebx
mov edx, esi
call fcn.00404af4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cf04
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cf26
movzx eax, byte [esp]
jmp 0x40cf28
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d5b8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d430
mov eax, dword [0x4c10e8]
cmp byte [eax], 0
je 0x40d634
mov eax, dword [0x4c0cd8]
call fcn.004032f0
call fcn.00403060
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409d34
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d67c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d66a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4c0c30]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c47f8]
call fcn.00406084
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40df34
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e00a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b38
lea eax, [ebp - 4]
call fcn.00404f88
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f30
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dff4
mov eax, ebx
call fcn.00402f04
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dfed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f30
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dfd7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e01c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dfd7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dff4
mov eax, dword [ebp - 0x10]
call fcn.00402f20
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e011
lea eax, [ebp - 4]
call fcn.00404aa0
ret

Function at 0x4260c8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x426116
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00425e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42612f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x426138
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00425e04
dec esi
jne 0x42615a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4272cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c69f0
cmp dword [edi], 0
jne 0x427348
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c69ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4bec20
mov ecx, 2
call fcn.004030f4
mov edx, 0x4272a4
lea eax, [esi + 5]
call fcn.004272c4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004272c4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42731d
mov dword [0x4c69ec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x429bb8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00429648
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404f30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x429c17
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c0f24]
mov dl, 1
mov eax, dword [0x429540]
call fcn.0040d784
call fcn.00404434
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x429c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x429c78
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c1314]
mov dl, 1
mov eax, dword [0x429540]
call fcn.0040d784
call fcn.00404434
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00429678
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42ade0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42ade6
ret
Function at 0x442a38
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x442aaa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x442a7e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404c98
jmp 0x442a85
mov eax, ebx
call fcn.00404aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442ab1
cmp dword [ebp - 8], 0
je 0x442aa1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x442ab8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x442b60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x442b33
mov edx, ebx
mov eax, dword [0x42a784]
call fcn.0042ef2c
test al, al
je 0x442b23
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0042ee3c
call fcn.004044e0
jmp 0x442b67
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x442aeb
mov ecx, dword [0x4c0c10]
mov dl, 1
mov eax, dword [0x408094]
call fcn.0040d748
call fcn.00404434
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442b67
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x442b70
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x442bc8
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442bcf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret