joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f1367
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x6f139a
push esi
call fcn.006ff437
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x6f1393
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 0x6f1420
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x6f1409
mov eax, dword [esi + 8]
test eax, eax
je 0x6f13be
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + reloc.MSVCRT.dll_strncpy]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x6f1405
cmp eax, 2
je 0x6f1409
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6f13b1
cmp eax, 3
je 0x6f13e4
cmp eax, 1
jne 0x6f13b1
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 0x6f13b1
mov edx, dword [esi + reloc.MSVCRT.dll_strncpy]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x6f13b1
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.006f1447
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x6f142f
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.006f1447
add esp, 4
pop esi
ret
Function at 0x726fb7
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x726fc2
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x7270c5
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + reloc.MSVCRT.dll_strncpy]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor eax, edx
inc ecx
dec edi
jne 0x726fdd
pop edi
test esi, esi
je 0x7270e7
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor eax, edx
inc ecx
dec esi
jne 0x7270c9
pop esi
pop ebx
not eax
ret

Function at 0x72fa37
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x57fdec]
xor edx, edx
cmp eax, edx
jne 0x72fa5d
xor eax, eax
mov byte [eax + 0x57fcec], al
inc eax
cmp eax, 0x100
jl 0x72fa45
mov dword [0x57fdec], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x57fcec
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x72faee
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x72fac1
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x72fa8f
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x72fb67
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x72fbba
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x72fba1
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x736557
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50b22e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00736e77
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x52b04c
call fcn.0075556e
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x7365ea
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0075556e
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x7365e3
push 0
mov ecx, eax
call fcn.0072d677
mov dword [esi + 0xc], eax
jmp 0x7365ec
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x7365ec
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0xd27379
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.00d27012
mov dword [esp], edx
push word [esp + 1]
lea esp, [esp + 2]
mov dword [esp + 0x44], edi
jmp 0xd273b6
lea esp, [esp + 0x44]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xd273fd
push eax
jmp 0xd2700d
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0xd273c5
Function at 0x40bc7d
Capabilities:
Print debug messages
Set environment variable

Disassembly:
mov eax, dword [0x41504c]
push esi
push 0xff78
push 0x40
mov esi, ecx
call eax
mov edx, dword [esi]
mov ecx, eax
call fcn.0040f012
mov edx, dword [0x41541c]
mov ecx, eax
call fcn.0040f012
mov edx, dword [0x41541c]
mov ecx, eax
call fcn.0040f012
mov edx, dword [0x41541c]
mov ecx, eax
pop esi
jmp fcn.0040f012
Function at 0x40ded0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push str.SMPHR_mrotc31v
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, eax
push str.txyxulc7k
call edi
push ebx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40df25
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.regez2y9jfa
push 0x80000001
call ebx
jmp 0x40df2c
push str.tgfs7wgt3
call edi
push str.ev_6ltrvjqq
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push str.WTMR_zqpogtvp
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.regl5f123p6
push 0x80000001
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
test esi, esi
je 0x40df84
push esi
call ebx
jmp 0x40df8b
push str.tcdimqv7r
call edi
push str.WTMR_7t7rrqol
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push str.txuqs45db
mov esi, eax
call edi
push esi
call ebx
push str.thtujb8qu
call edi
push 0x9b1
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.tt163rq13
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x415170]
mov esi, str.stasvasbas
push esi
push ebx
push 0x1f0001
call ecx
test eax, eax
jne 0x40dff1
push esi
push ebx
push ebx
call dword [0x415108]
xor eax, eax
inc eax
jmp 0x40dff3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40dff8
Capabilities:
Print debug messages
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push str.SMPHR_lsu5ct24
xor edi, edi
inc edi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov esi, eax
push str.gcxcekb0
push str.90qhk0la
call ebx
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x40e051
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.regyb7u5h3g
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.ev_0cg1eief
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0xf4a
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.3nwiu8k2
push str.qdicnr9r
mov esi, eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.tf8mzzkut
call esi
push str.MTXs0ri916b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
test ebx, ebx
je 0x40e0c5
push str.tugcgipbn
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x40e0cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WTMR_0v14vxe0
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, dword [0x415128]
lea eax, [ebp - 8]
push eax
push 8
mov dword [ebp - 4], ebx
call dword [0x415048]
push eax
call esi
test eax, eax
je 0x40e172
mov eax, dword [0x415030]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
push ebx
push edi
push dword [ebp - 8]
call eax
test eax, eax
jne 0x40e118
call dword [0x4150b8]
cmp eax, 0x7a
jne 0x40e172
push dword [ebp - 4]
mov eax, dword [0x415098]
push 0x40
call eax
mov ecx, dword [0x415030]
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push edi
push dword [ebp - 8]
call ecx
test eax, eax
je 0x40e172
mov eax, dword [0x41505c]
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], ebx
push dword [esi]
call eax
test eax, eax
je 0x40e172
push dword [ebp - 0xc]
mov eax, dword [0x41511c]
push dword [0x415580]
call eax
test eax, eax
push esi
cmovne edi, ebx
call dword [0x4150e0]
mov eax, edi
jmp 0x40e174
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e179
Capabilities:
Print debug messages
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
push ebx
push esi
push edi
push str.ev_y69yttl7
xor edi, edi
mov dword [ebp - 4], ecx
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push str.MTX3t1mxx1o
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40e1cf
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e1e5
lea eax, [ebp - 8]
push eax
push 0x20019
push edi
push str.regk8hftcvg
push 0x80000001
call ebx
push str.WTMR_k80jkq3z
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push edi
push str.regkst75e0p
push 0x80000001
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
lea eax, [ebp - 0x150]
push eax
push str.s_kkyiaenp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.XMLzpeebx01
push 1
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0
push 1
push eax
call esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.regupf760yl
push 0x80000001
call ebx
push str.SMPHR_g3v549yp
push 1
push 0
push 0
call edi
push 0
push 1
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
je 0x40e287
push str.t0bddrwll
call edi
jmp 0x40e29e
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.regc448p6el
push 0x80000001
call ebx
push 0x994
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.t87ox2vav
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.fte7n198
push str.87mu9ra2
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
push 0x1082
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov eax, dword [0x415020]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 4]
call eax
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
setne cl
pop esi
mov eax, ecx
pop ebx
leave
ret
Function at 0x40eb7b
Capabilities:
Print debug messages
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
push str.ev_t0ff7ckr
xor edi, edi
mov dword [ebp - 4], ecx
push edi
push 1
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push str.XMLydhp8k1n
push 1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push edi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push str.tt3c7c6fy
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WTMR_ngcgpumk
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov edi, dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
test eax, eax
je 0x40ebff
push eax
call edi
push str.4jdvksst
push str.t24qar9z
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x148]
push eax
push str.s_7wz467a6
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
push eax
push 0x1c2
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push str.trucacvw6
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.byihy5ld
push str.suq142v5
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0x446
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.tq6azztln
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WTMR_dnq6ya3g
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
push eax
call edi
push 3
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esi, 1
jne 0x40ec84
push str.SMPHR_bssx0b6b
push 1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push esi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push dword [ebp - 4]
mov eax, dword [0x415090]
mov esi, dword [0x41504c]
call eax
lea eax, [eax*2 + 0x80]
push eax
push 0x40
call esi
mov ecx, dword [ebp + 8]
mov esi, eax
mov edi, dword [ebp + 0xc]
cmp ecx, edi
jge 0x40ece7
mov ebx, dword [ebp - 4]
mov edx, esi
mov ax, word [ebx + ecx*2]
inc ecx
mov word [edx], ax
lea edx, [edx + 2]
cmp ecx, edi
jl 0x40ecd5
mov ebx, dword [ebp - 8]
mov ecx, dword [0x415144]
xor eax, eax
push esi
push dword [ebx]
mov word [esi + edi*2 + 2], ax
call ecx
mov dword [ebx], eax
test esi, esi
je 0x40ed06
push esi
call dword [0x4150cc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x51f070
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc8000]
push edi
jmp 0x51f08a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51f091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51f080
mov eax, 1
add ebx, ebx
jne 0x51f0a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51f0b4
jne 0x51f0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51f0d3
dec eax
add ebx, ebx
jne 0x51f0c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51f098
add ebx, ebx
jne 0x51f0cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51f125
xor ecx, ecx
sub eax, 3
jb 0x51f0eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51f15a
sar eax, 1
mov ebp, eax
jmp 0x51f0f6
add ebx, ebx
jne 0x51f0f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51f0c4
inc ecx
add ebx, ebx
jne 0x51f104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51f0c4
add ebx, ebx
jne 0x51f111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51f106
jne 0x51f122
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51f106
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51f144
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51f136
jmp 0x51f086
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51f144
add edi, ecx
jmp 0x51f086
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51f162
cmp byte [edi], 0x11
jne 0x51f162
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x51f167
lea edi, [esi + 0x118000]
mov eax, dword [edi]
or eax, eax
je 0x51f1df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x165b30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x165cac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51f194
mov ecx, edi
jns 0x51f1c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x165cb0]
or eax, eax
je 0x51f1d9
mov dword [ebx], eax
add ebx, 4
jmp 0x51f1b1
call dword [esi + 0x165cc0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51f210
cmp al, 0xef
ja 0x51f203
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51f1e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51f1f2
mov ebp, dword [esi + 0x165cb4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x51f244
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x461894
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x461a4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040775c
mov eax, dword [ebp - 4]
call fcn.004611e4
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4618e6
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00408454
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004624d0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4619c5
xor eax, eax
push ebp
push 0x4619be
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00461484
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00461a84
test al, al
je 0x46199c
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004074bc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x46199c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00408030
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004613e4
test al, al
je 0x461996
mov eax, dword [ebp - 8]
call fcn.00408030
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00408098
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00461894
dec ebx
cmp ebx, 0xffffffff
jne 0x461945
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4619c5
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00461484
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x619028], 0
je 0x461a05
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00408030
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00461470
push eax
call fcn.0040e5f8
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004613e4
mov ebx, eax
jmp 0x461a2c
mov eax, dword [ebp - 4]
call fcn.00408030
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00461470
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004613e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461a56
lea eax, [ebp - 0x3c]
call fcn.00407334
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407394
ret