joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x409d40
xor eax, eax
jmp 0x409edd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x409e9e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x42fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x42fb78]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x42fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x42fb78]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x42fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x409d49
cmp dword [ebp + 0x10], 0
je 0x409ed7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x42fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x409ea4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x409ee0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42fb78]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x42fb78]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x10025923
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10016a40]
jne 0x1017259d
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1018a920], eax
mov dword [0x1018a91c], ecx
mov dword [0x1018a918], edx
mov dword [0x1018a914], ebx
mov dword [0x1018a910], esi
mov dword [0x1018a90c], edi
mov word [0x1018a938], ss
mov word [0x1018a92c], cs
mov word [0x1018a908], ds
mov word [0x1018a904], es
mov word [0x1018a900], fs
mov word [0x1018a8fc], gs
pushfd
pop dword [0x1018a930]
mov eax, dword [ebp]
mov dword [0x1018a924], eax
mov eax, dword [ebp + 4]
mov dword [0x1018a928], eax
lea eax, [ebp + 8]
mov dword [0x1018a934], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1018a870], 0x10001
mov eax, dword [0x1018a928]
mov dword [0x1018a824], eax
mov dword [0x1018a818], 0xc0000409
mov dword [0x1018a81c], 1
mov eax, dword [0x10016a40]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10188588]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1018a868], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10016c2c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1018a868], 0
jne 0x10172689
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x10025cbf
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push 0x64
mov eax, 0x10178e6a
call fcn.10025eb7
mov edi, ecx
and dword [edi + 0x14], 0
mov dword [ebp - 0x4c], edi
mov dword [edi], 1
and dword [ebp - 4], 0
lea ecx, [edi + 0x20]
call fcn.10025eed
mov esi, dword [sym.imp.kernel32.dll_InitializeCriticalSection]
lea eax, [edi + 0x60]
push eax
call esi
xor eax, eax
lea ebx, [edi + 0x84]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea ecx, [edi + 0xa8]
mov byte [ebp - 4], 2
mov dword [edi + 0x90], eax
call fcn.10025f6b
lea eax, [edi + 0xb4]
push eax
call esi
xor esi, esi
mov dword [edi + 0xd8], esi
mov dword [edi + 0xdc], esi
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
mov dword [edi + 0x90], esi
mov dword [edi + 0x78], esi
mov dword [edi + 0xcc], esi
mov dword [edi + 0xd0], esi
mov dword [edi + 0xd4], esi
mov dword [edi + 0x18], 3
mov dword [edi + 0x1c], esi
mov dword [edi + 0x80], esi
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
cmp dword [ebp - 0x6c], 1
mov dword [edi + 0x7c], esi
je 0x10025d9d
mov edx, esi
inc edx
xor eax, eax
inc eax
mov ecx, edx
shl eax, cl
mov dword [edi + 0x7c], edx
cmp eax, dword [ebp - 0x6c]
jne 0x10025d8d
mov eax, 0x4000000
cmp dword [ebp - 0x28], eax
mov dword [edi + 0x98], 0x100
cmovbe eax, dword [ebp - 0x28]
mov ecx, eax
shr ecx, 0xc
mov dword [edi + 0x94], ecx
cmp eax, 0xc00000
jbe 0x10025de7
add eax, 0xff400000
shr eax, 0xe
add eax, 0x100
mov edx, 0xe00
mov dword [edi + 0x98], eax
cmp eax, edx
jbe 0x10025de7
mov dword [edi + 0x98], edx
lea esi, [ecx + 7]
shr esi, 3
push esi
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [edi + 0x90], eax
test eax, eax
jne 0x10025e11
push 1
push 0xfffffc0d
mov ecx, edi
call fcn.10161cc3
xor ebx, ebx
jmp 0x10025e73
mov dword [ebx], eax
lea eax, [ebp - 0x48]
push eax
mov eax, esi
shl eax, 3
mov dword [ebx + 4], esi
mov edx, dword [ebx + 8]
push eax
mov ecx, ebx
call fcn.10161cc3
lea eax, [ebp - 0x48]
push eax
push dword [edi + 0x94]
xor edx, edx
mov ecx, ebx
call fcn.10161cc3
xor ebx, ebx
lea eax, [edi + 0x48]
test byte [eax], 8
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe8], ebx
je 0x10025e9a
push eax
mov ecx, edi
call fcn.10161cc3
mov eax, dword [edi + 0x90]
test eax, eax
je 0x10025e85
push eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
cmp dword [edi + 0x78], 0
je 0x10025e9a
push 0x8000
push ebx
push dword [edi + 0x78]
call dword [sym.imp.kernel32.dll_VirtualFree]
test dword [ebp - 0x48], 0xfffffffe
mov byte [ebp - 4], 5
je 0x10025eaf
lea ecx, [ebp - 0x48]
call fcn.10029a29
mov eax, edi
call fcn.100261b4
ret
Function at 0x1002aaca
Capabilities:
Resume thread

Disassembly:
push 0
mov eax, 0x10178ef5
call fcn.10025c8c
mov esi, ecx
cmp dword [esi + 0x1c], 0
mov ebx, dword [ebp + 0xc]
jne 0x1002ab85
mov eax, dword [esi + 0x18]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10161cc3
pop ecx
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x1002ab10
push 1
push 0xfffffc0d
jmp 0x1002aba7
xor edi, edi
cmp dword [esi + 0x18], edi
jbe 0x1002ab85
push 4
call fcn.10161cc3
pop ecx
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
test eax, eax
je 0x1002ab3c
push ebx
push esi
push 0x1005f5f0
mov ecx, eax
call fcn.10161cc3
mov ecx, eax
jmp 0x1002ab3e
xor ecx, ecx
mov eax, dword [esi + 0x1c]
or dword [ebp - 4], 0xffffffff
mov dword [eax + edi*4], ecx
mov eax, dword [esi + 0x1c]
cmp dword [eax + edi*4], 0
jne 0x1002ab5f
push 1
push 0xfffffc0d
mov ecx, ebx
call fcn.10161cc3
test byte [ebx], 8
jne 0x1002abb0
xor ecx, ecx
lea eax, [esi + 0xd8]
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + edi*4]
push dword [eax]
call dword [sym.imp.kernel32.dll_ResumeThread]
inc edi
cmp edi, dword [esi + 0x18]
jb 0x1002ab17
mov edi, dword [ebp + 8]
cmp dword [edi + 8], 0
je 0x1002abe1
push dword [edi + 8]
lea ecx, [esi + 0xa8]
call fcn.10161cc3
test eax, eax
jne 0x1002abe1
push 1
push 0xfffffc0e
mov ecx, ebx
call fcn.10161cc3
jmp 0x1002abeb
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x1002abc8
mov ecx, ebx
call fcn.100b9d03
push ebx
call fcn.10161cc3
pop ecx
mov eax, dword [esi + 0x1c]
and dword [eax + edi*4], 0
test edi, edi
jne 0x1002abeb
push dword [esi + 0x1c]
call fcn.10161cc3
and dword [esi + 0x1c], edi
pop ecx
jmp 0x1002abeb
push ebx
push edi
lea ecx, [esi + 0x20]
call fcn.10161cc3
call fcn.10025f78
ret 8
Function at 0x100581c5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x70
mov eax, 0x101779a3
call fcn.10025eb7
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], esi
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, ebx
mov dword [ebp - 0x58], eax
call fcn.1003bc79
mov ecx, ebx
test eax, eax
je 0x10058247
push 0
call fcn.100583da
xor edi, edi
inc edi
mov ecx, ebx
test eax, eax
je 0x10058217
mov dword [ebp - 0x54], edi
push 0
jmp 0x1005825b
push edi
call fcn.100583da
test eax, eax
je 0x10058242
and dword [ebp - 0x54], 0
push edi
mov ecx, ebx
call fcn.10058582
and dword [ebx + 0xf8], 0xfffffffb
push 0xee3
mov ecx, esi
call fcn.10161cc3
jmp 0x10058278
mov dword [ebp - 0x54], edi
jmp 0x10058278
xor edi, edi
inc edi
push edi
call fcn.100583da
test eax, eax
je 0x10058262
and dword [ebp - 0x54], 0
push edi
mov ecx, ebx
call fcn.10058582
jmp 0x10058278
push 0xee4
mov ecx, esi
mov dword [ebp - 0x54], edi
call fcn.10161cc3
or dword [ebx + 0xf8], 4
lea esi, [ebx + 0x68]
mov dword [esi], edi
and dword [ebp - 0x68], 0
mov dword [ebp - 0x7c], edi
push dword [esi]
mov ecx, dword [ebp - 0x64]
and dword [ebp - 4], 0
call fcn.10161cc3
cmp eax, 0x100
jb 0x1005833b
mov ecx, dword [ebx + 0x44]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
push edi
cmp dword [ebp - 0x54], edi
jne 0x100582c1
add eax, 0x100000ff
push eax
call fcn.10161cc3
mov ecx, dword [ebx + 0x44]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
push edi
add eax, sym.acecore.dll_Ordinal_58
push eax
call fcn.10161cc3
mov eax, dword [ebp - 0x7c]
test al, 1
jne 0x100582dc
cmp dword [ebp - 0x78], 0xfffffbff
je 0x1005833e
or dword [ebp - 4], 0xffffffff
test eax, 0xfffffffe
je 0x100582ef
lea ecx, [ebp - 0x7c]
call fcn.10029a29
cmp dword [esi], 0x100
jb 0x10058361
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
call fcn.10026c16
mov eax, dword [ebp - 0x58]
sub eax, esi
add eax, 0x5dc
lea esi, [ebx + 0x68]
cmp eax, 0x80000000
jb 0x1005827b
cmp dword [esi], 0x100
jb 0x10058361
mov esi, dword [ebp - 0x5c]
push edi
push 0xfffffbdd
mov ecx, esi
call fcn.10161cc3
jmp 0x10058364
mov eax, dword [ebp - 0x7c]
or dword [ebp - 4], 0xffffffff
test eax, 0xfffffffe
je 0x10058351
lea ecx, [ebp - 0x7c]
call fcn.10029a29
inc dword [esi]
cmp dword [esi], 0x100
jb 0x1005827d
jmp 0x100582ef
mov esi, dword [ebp - 0x5c]
test byte [esi], 8
jne 0x100583d2
push 0x40
lea eax, [ebp - 0x50]
push 0x20
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
push esi
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.10026c16
mov ecx, eax
call fcn.10161cc3
test byte [esi], 8
jne 0x100583d2
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x58], 0x20
call fcn.10161cc3
test eax, eax
js 0x100583c5
mov ecx, dword [ebx + 0x44]
push esi
push 0x40
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x68]
dec eax
shl eax, 6
push eax
call fcn.100474ab
jmp 0x100583d2
push edi
push 0xfffffc15
mov ecx, esi
call fcn.10161cc3
call fcn.100261b4
ret 0xc
Function at 0x1005b3bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x20
mov eax, 0x10177817
call fcn.10025c8c
mov edi, ecx
xor eax, eax
cmp dword [edi + 0x44], eax
je 0x1005b519
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x40]
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x10], eax
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.1005b521
jmp 0x1005b46e
mov eax, esi
dec esi
mov dword [ebp - 0x14], esi
test eax, eax
je 0x1005b476
lea ecx, [ebp - 0x2c]
call fcn.10029a19
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
call fcn.10026c16
sub ebx, esi
mov esi, dword [ebp - 0x10]
add esi, ebx
cmp esi, 0x80000000
jae 0x1005b44d
call fcn.10026c16
push esi
call dword [sym.imp.kernel32.dll_Sleep]
call fcn.10026c16
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.1005b521
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
test cl, 8
jne 0x1005b40e
test cl, 1
jne 0x1005b4f8
mov esi, dword [ebp - 0x28]
cmp esi, 0xfffffbae
jl 0x1005b4f8
cmp esi, 0xfffffbaf
jle 0x1005b496
cmp esi, 0xfffffbb2
jne 0x1005b4f8
mov ecx, edi
call fcn.1003bc79
test eax, eax
je 0x1005b4ae
mov eax, dword [ebp + 0x10]
test eax, eax
push 1
cmove eax, esi
push eax
jmp 0x1005b4ee
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.100fd338
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1005b4d4
mov cl, byte [ebp - 0x2c]
and cl, 1
movsx ecx, cl
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [ebp - 0x28]
test eax, eax
je 0x1005b4eb
cmp eax, dword [edi + 0x68]
je 0x1005b4eb
push dword [ebp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.100fd513
jmp 0x1005b504
push 1
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.10161cc3
jmp 0x1005b504
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push eax
call fcn.10161cc3
or dword [ebp - 4], 0xffffffff
test dword [ebp - 0x2c], 0xfffffffe
je 0x1005b519
lea ecx, [ebp - 0x2c]
call fcn.10029a29
call fcn.10025f78
ret 0x10
Function at 0x1013d72e
Capabilities:
Check for time delay via gettickcount

Disassembly:
movzx eax, ax
sub eax, 0
je 0x1013d77a
push esi
dec eax
je 0x1013d753
dec eax
je 0x1013d74f
dec eax
je 0x1013d748
mov esi, dword [0x1019bcac]
jmp 0x1013d761
mov esi, 0x96
jmp 0x1013d756
push 0x64
jmp 0x1013d755
push 0x32
pop esi
mov eax, dword [0x1019bcac]
cmp eax, esi
jae 0x1013d761
mov esi, eax
push edi
call sub.kernel32.dll_GetTickCount
mov edi, eax
test esi, esi
je 0x1013d778
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, esi
jb 0x1013d76d
pop edi
pop esi
ret
Function at 0x46e6a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4b000]
push edi
jmp 0x46e6ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46e6c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e6b0
mov eax, 1
add ebx, ebx
jne 0x46e6d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46e6e4
jne 0x46e703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e703
dec eax
add ebx, ebx
jne 0x46e6f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46e6c8
add ebx, ebx
jne 0x46e6ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46e755
xor ecx, ecx
sub eax, 3
jb 0x46e71b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46e78a
sar eax, 1
mov ebp, eax
jmp 0x46e726
add ebx, ebx
jne 0x46e726
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e6f4
inc ecx
add ebx, ebx
jne 0x46e734
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e6f4
add ebx, ebx
jne 0x46e741
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46e736
jne 0x46e752
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46e736
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46e774
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46e766
jmp 0x46e6b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46e774
add edi, ecx
jmp 0x46e6b6
pop esi
mov edi, esi
mov ecx, 0x1725
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46e792
cmp byte [edi], 9
jne 0x46e792
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 0x46e797
lea edi, [esi + 0x69000]
mov eax, dword [edi]
or eax, eax
je 0x46e80f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6e678]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6e714]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46e7c4
mov ecx, edi
jns 0x46e7f3
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 + 0x6e71c]
or eax, eax
je 0x46e809
mov dword [ebx], eax
add ebx, 4
jmp 0x46e7e1
call dword [esi + 0x6e718]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x46e840
cmp al, 0xef
ja 0x46e833
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x46e815
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x46e822
mov ebp, dword [esi + 0x6e720]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x46e874
sub esp, 0xffffff80
jmp 0x42282d
Function at 0x40e840
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5779a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.dE9FhcycgPIwcDWLjcW9KB8GVMgQ_MFgcbkPSA
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.QmZwiNRIlrMUUyCNQRaeMAM
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042d600
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x14]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40e92b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40e95c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x5904f4
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40e992
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40e9c8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00552a0f
int3
Function at 0x41ef00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579605
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.T0NMTOBwsUKkw4IIj5dHExMPgeT8zQH0wgHMSk
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.dVA3qSgYkWVj4AwIw
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042d600
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x1c]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41efee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f04f
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x20]
call fcn.00445090
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41f040
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x110], esi
cmp ecx, 8
jb 0x41f08e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f084
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f0d9
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41f0c4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f0ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f0d9
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552a0f
int3