joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441840
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480e73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00474695
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00479ce9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047b205
test eax, eax
je 0x44195c
mov ecx, dword [esp + 0x3c]
call fcn.00479d16
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441920
push edi
mov ecx, esi
call fcn.00477378
mov ecx, esi
call fcn.00441b00
cmp dword [esp + 0x38], 1
jne 0x441955
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004774b3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x443b50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443b83
push esi
call fcn.00451f00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443b7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443c09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443bf2
mov eax, dword [esi + 8]
test eax, eax
je 0x443ba7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x443bee
cmp eax, 2
je 0x443bf2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443b9a
cmp eax, 3
je 0x443bcd
cmp eax, 1
jne 0x443b9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x443b9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443b9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443c30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443c18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443c30
add esp, 4
pop esi
ret

Function at 0x4444a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4444c1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4444c1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4444c1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x45e9a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x45ea06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x45ea06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45e9e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x45ed90
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45edc8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x45faa0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45fae9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45ff60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4813c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045fb10
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045fb90
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045fb90
lea ecx, [esi + 0xc]
call fcn.00473072
lea ecx, [esi + 0x10]
call fcn.00473072
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00461120
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00461120
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00461120
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004730e7
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004730e7
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x475471
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4754a9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00473542
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047351a
jmp 0x4754b5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x476b63
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x476ba5
call fcn.0047c7a0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x476ba5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x476b9c
xor eax, eax
jmp 0x476bad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00476bb3
pop edi
pop esi
pop ebx
ret 4

Function at 0x47ccd0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47ccfe
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47cd1c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047cc36
jmp 0x47cd1c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47cd1c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047cc36
test edi, edi
mov eax, edi
jne 0x47cd06
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, reloc.kernel32.dll_OpenFileMappingA
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x404bef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bf9
repz ret
jmp fcn.0040883b

Function at 0x4060f3
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.004029c4
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x4061a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406255
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406255
push eax
call fcn.00402952
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x4061a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061fc
cmp dword [0x40e55c], ebx
je 0x4061fc
push eax
call fcn.004029cd
push dword [0x40e55c]
mov esi, eax
call fcn.004029cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061fc
test edi, edi
je 0x4061fc
call esi
test eax, eax
je 0x4061f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061f3
test byte [ebp - 0xc], 1
jne 0x4061fc
or dword [ebp + 0x10], 0x200000
jmp 0x406235
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406235
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.004029cd
pop ecx
test eax, eax
je 0x406255
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401260
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
push eax
xor esi, esi
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x401288
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x4012d4
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4012a8
mov esi, 2
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 0xa
jne 0x4012bc
mov esi, 3
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 0x5a
jne 0x401353
mov esi, 4
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 2
jne 0x401353
mov eax, dword [esp + 8]
cmp eax, 3
jne 0x4012f1
mov esi, 1
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 4
jne 0x401305
mov esi, 5
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 5
jne 0x401349
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x401321
mov esi, 6
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 1
jne 0x401335
mov esi, 7
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 2
jne 0x401353
mov esi, 8
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 6
jne 0x401353
mov esi, 9
mov eax, esi
pop esi
add esp, 0x94
ret

Function at 0x401660
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
sub esp, 0x530
push esi
mov esi, dword [esp + 0x538]
mov dword [0x4100e0], esi
call fcn.00401040
lea eax, [esp + 4]
mov dword [esp + 4], 0x30
push eax
push 0x8002
push 0
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x4016a1
pop esi
add esp, 0x530
ret 0x10
push 0x65
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 4]
mov dword [esp + 0x2c], str.GPUNIClass_JH
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x4016d6
xor eax, eax
pop esi
add esp, 0x530
ret 0x10
mov eax, dword [0x40d1c8]
mov ecx, dword [0x4100e0]
lea edx, [esp + 0x34]
push 0x100
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [0x4100dc], 0
mov edx, dword [esp + 0x2c]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
mov dword [0x4100dc], eax
jne 0x4017c1
mov eax, dword [esp + 0x2c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4100dc], eax
mov edx, dword [0x40d1e8]
mov eax, dword [0x4100e0]
push 0
push 0x401460
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov esi, eax
mov eax, dword [0x4100ec]
test eax, eax
je 0x4017b5
lea ecx, [esp + 0x134]
push 0x400
push ecx
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x200
lea edx, [esp + 0x138]
push str.__c_del__
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + eax + 0x138]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x134]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, esi
pop esi
add esp, 0x530
ret 0x10
lea ecx, [esp + 0x34]
push ecx
push str.32770
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x401730
xor eax, eax
pop esi
add esp, 0x530
ret 0x10
Function at 0x401840
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov dl, byte [0x4100f0]
push ebx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
mov byte [esp + 0x114], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x115]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
mov dword [esp + 0x10], 0x100
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftCryptographyDefaultsProviderBOCOM_2010USBKey_HDE_CSP_v1.0
push 0x80000002
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401927
mov edi, str.Image_Path
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x118]
and ecx, 3
lea eax, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop esi
jne 0x401927
mov eax, dword [esp + 8]
push 0x4100f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401927
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x401919
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop ebx
add esp, 0x20c
ret
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x401936
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
add esp, 0x20c
ret

Function at 0x401950
Capabilities:
Delete registry key
Persist via run registry key

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0xc]
push edi
xor edi, edi
push eax
push 0xf003f
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsHDADM_JH.exe
push 0x80000002
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4019e9
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x4100f0
push ecx
call ebx
test eax, eax
jne 0x4019e9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40199f
push eax
call ebp
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunHDCLT_JH
push 0x80000002
call esi
test eax, eax
jne 0x4019e9
mov eax, dword [esp + 0x10]
push 0x4100f0
push eax
call ebx
test eax, eax
jne 0x4019e9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4019de
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4019f4
push eax
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x401a00
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 1
push esi
push str.SOFTWAREBOCOMHUADA
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401a4b
mov ecx, dword [esp + 4]
push 0x4100f0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401a4b
mov eax, dword [esp + 4]
test eax, eax
je 0x401a43
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x401a5a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x401a60
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 1
push esi
push str.SOFTWAREBOCOMHUADA
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401aab
mov ecx, dword [esp + 4]
push 0x4100f0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401aab
mov eax, dword [esp + 4]
test eax, eax
je 0x401aa3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x401aba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x401ac0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsHDADM_JH.exe
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x2f
xor eax, eax
lea edi, [esp + 0x51]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push 1
push ebx
push ecx
push 0x80000002
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b29
mov edx, dword [esp + 0xc]
push 0x4100f0
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401b29
mov ebx, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x401b38
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x401b50
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2010USBKey_HDE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b9e
mov ecx, dword [esp + 4]
push 0x4100f0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401b9e
mov eax, dword [esp + 4]
test eax, eax
je 0x401b96
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x401bad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x401bc0
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftCryptographyDefaultsProviderBOCOM_2010USBKey_HDE_CSP_v1.0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401c0e
mov ecx, dword [esp + 4]
push 0x4100f0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401c0e
mov eax, dword [esp + 4]
test eax, eax
je 0x401c06
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x401c1d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

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

Disassembly:
sub esp, 0x10c
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 8]
push esi
xor ebx, ebx
push eax
push 0xf003f
push ebx
push ebx
push 0x80000003
xor esi, esi
mov dword [esp + 0x24], ebx
call ebp
test eax, eax
jne 0x401d15
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x401d10
push edi
mov edi, str.SOFTWAREHDBOCOM
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], 0
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
push eax
push 0xf003f
lea ecx, [esp + 0x20]
push 0
push ecx
push edx
call ebp
test eax, eax
jne 0x401ce3
mov eax, dword [esp + 0x14]
push 0x4100f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x10]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
inc ebx
push 0x104
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x401c81
pop edi
mov esi, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x401d24
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret