joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026b00
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029ac0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10040bd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004106c], 1
jne 0x10026ba7
push 1
push 0x40
push 8
push 0x10039be8
lea ecx, [ebp - 0xbc]
call fcn.10004a10
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push str._nAKS_Scan:
push eax
call fcn.100045b0
lea eax, [ebp - 0xbc]
push str.Thread_attack_
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0xb8]
call fcn.100054f0
test eax, eax
jne 0x10026b9c
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xbc]
call fcn.10005000
mov eax, dword [0x10041070]
cmp eax, 1
je 0x10026bf3
cmp eax, 4
je 0x10026bf3
push 0
cmp eax, 2
jne 0x10026be3
push 0
push 0
push 0x10026e10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x10026bdd
push 0
push 0
push 0x10026eb0
jmp 0x10026bc6
push 0
push 0
push 0
push 0x10026e60
jmp 0x10026bc6
Function at 0x10027350
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub esp, 0x14
mov eax, dword [0x10040bd0]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [0x10041080], 1
jne 0x100273f8
movzx eax, word [0x449081]
push ebx
push esi
push eax
lea eax, [esp + 0x10]
push 0x10039f4c
push eax
call fcn.10018540
mov dword [esp + 0x14], 0x10039f50
add esp, 0xc
mov ebx, dword [esp + 8]
mov esi, dword [esp + 8]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x100273de
mov eax, dword [ebx + 0xf]
push ebp
inc eax
push edi
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov edi, eax
test ebp, ebp
je 0x100273d6
sub esi, edi
nop dword [eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, ebp
jb 0x100273c0
mov byte [edi + ebp], 0
mov esi, edi
pop edi
pop ebp
push 0x30
push esi
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x7361
cmp word [0x449081], ax
jne 0x10027417
mov ecx, dword [esp + 0x10]
xor al, al
xor ecx, esp
call fcn.10027810
add esp, 0x14
ret
call fcn.10026ff0
int3

Function at 0x10027460
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10027420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10027480
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100274a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x6c51b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006c5140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006c5140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006c5140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006c5140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6c5bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6c5c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6d787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6c5c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6c5c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x3976dd7
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0xac6608b
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100022de
pop dword [ebp - 0x24]
mov eax, 0x452f0b09
add eax, 0xcad117d5
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x25bc2500
sub dword [ebp - 0x34], 0xd769dfb5
mov dword [ebp - 0x30], 0xedf2da77
sub dword [ebp - 0x30], 0xbbbf8e32
mov dword [ebp - 0x2c], 0xfcfcbff0
add dword [ebp - 0x2c], 0x4f4f843e
mov dword [ebp - 0x28], 0x4b8deb70
add dword [ebp - 0x28], 0xb4721490
lea eax, [ebp - 0x34]
push eax
mov eax, 0x8aead9f1
add eax, 0x85155613
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xbc6dce45
add dword [ebp - 0x34], 0xb8049b11
mov dword [ebp - 0x30], 0xabfba640
sub dword [ebp - 0x30], 0x6a8f44cb
mov dword [ebp - 0x2c], 0x8f2f736a
sub dword [ebp - 0x2c], 0x2bc006fe
mov dword [ebp - 0x28], 0xbb8ffc97
add dword [ebp - 0x28], 0x44700369
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xe55d5e72
sub eax, 0xd55d2e6a
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x36a26
push 0
call eax
mov ecx, 0x4897
xor edx, edx
add edx, eax
mov ebx, 0xeccafd35
sub ebx, 0xdcca9b35
add ebx, dword [ebp - 0x24]
mov esi, 0xe57ffba5
add dword [ebp - 0xc], 0x132fab58
mov edi, dword [ebx]
xor edi, esi
add dword [ebp - 0x14], 0xd80ef8d0
mov dword [edx], edi
mov dword [ebp - 0x1c], 0x991ad109
add edx, 0x42d09c5f
sub edx, 0x42d09c5b
add ebx, 0xf8c2bed3
sub ebx, 0xf8c2becf
loop 0x100023f6
add eax, 0xcc20380d
add eax, 0x33e0dd22
mov ebx, eax
add eax, 0x4e8ef688
sub eax, 0x4e8ef683
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x1001bc3
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push ebx
xor ebx, ebx
cmp byte [0x100a2e0], bl
je 0x1001cb4
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001cb4
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x344]
push eax
push ebx
push ebx
mov esi, 0x100a2e0
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x238
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001caa
push edi
push 0x40
pop ecx
mov byte [ebp - 0x10c], bl
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
pop edi
je 0x1001c66
push 0x1001251
lea eax, [ebp - 0x10c]
push eax
call fcn.01005c3d
push 0x100ac44
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x344]
push str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x344]
push eax
push 1
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret

Function at 0x1002a6d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push edi
push 0xa
push dword [ebp + 8]
xor edi, edi
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, dword [ebp + 0x10]
ja 0x1002ad6
cmp dword [ebp + 0xc], edi
je 0x1002ad6
cmp ebx, edi
je 0x1002ab6
push 0xa
push dword [ebp + 8]
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
jne 0x1002aba
xor eax, eax
jmp 0x1002ad8
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1004cc9
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x100b4a4], eax
xor eax, eax
mov ecx, 0x23f
mov edi, 0x100aba0
rep stosd dword es:[edi], eax
push 0x41
mov ecx, 0xcb
mov edi, 0x100b880
rep stosd dword es:[edi], eax
pop ecx
mov edi, 0x100aa80
rep stosd dword es:[edi], eax
push 0x7f
mov esi, 0x100abb4
xor edi, edi
push esi
xor ebx, ebx
inc edi
push 0x1001450
mov dword [ebp - 4], ebx
mov dword [0x100ae4c], edi
call fcn.01002a6d
cmp eax, ebx
je 0x1004eee
cmp eax, 0x80
ja 0x1004eee
push ebx
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [0x100aa50], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 4
push 0x100b494
push 0x1001444
call fcn.01002a6d
test eax, eax
je 0x1004d86
test byte [0x100b494], 0xc0
je 0x1004e16
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x1001434
call fcn.01002a6d
test eax, eax
jne 0x1004da5
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003943
mov dword [0x100aa5c], 0x80070714
jmp 0x1004efe
lea eax, [ebp - 0x108]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [0x100aa54], eax
je 0x1004e16
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1004e16
test byte [0x100b494], 0x80
je 0x1004de5
push ebx
push 0x10
push ebx
push esi
push 0x54b
push ebx
call fcn.01003943
jmp 0x1004dfb
push 4
push 0x20
push ebx
push esi
push 0x524
push ebx
call fcn.01003943
cmp eax, 6
je 0x1004e16
push dword [0x100aa54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100aa5c], 0x800700b7
jmp 0x1004efe
push dword [ebp + 0xc]
mov dword [0x100aa60], ebx
call int.010030e0
test eax, eax
jne 0x1004e37
push ebx
push 0x10
push ebx
push ebx
push 0x520
jmp 0x1004ef8
cmp byte [0x100b89a], bl
je 0x1004e4e
push 0x100b89a
call fcn.01001cb7
jmp 0x1004efe
push 0xa
push 0x1001428
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x1004e6f
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [0x100a2bc], ebx
je 0x1004e7d
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100b884], ebx
jne 0x1004eea
push dword [ebp - 4]
call fcn.0100427e
test eax, eax
je 0x1004efe
mov ax, word [0x100aa64]
cmp ax, di
je 0x1004ea8
cmp ax, 2
je 0x1004ea8
cmp ax, 3
jne 0x1004eea
test byte [0x100b495], 1
je 0x1004eea
test byte [0x100b898], 1
jne 0x1004eea
call fcn.010016c3
test eax, eax
jne 0x1004eea
push 0x83e
push 0x547
push 0x10017e9
push ebx
push 0x7d6
push dword [0x100b4a4]
call fcn.01004212
cmp eax, 0x83d
jne 0x1004efe
mov eax, edi
jmp 0x1004f00
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003943
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10059af
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
xor esi, esi
cmp word [0x100b898], si
jne 0x10059e7
cmp dword [0x100b884], esi
jne 0x10059de
call fcn.01003e11
test eax, eax
je 0x10059f9
cmp word [0x100b898], si
jne 0x10059e7
call fcn.01004532
test eax, eax
je 0x10059f9
call fcn.01003d8a
test eax, eax
je 0x10059f9
call fcn.010056e7
test eax, eax
jne 0x1005a00
xor eax, eax
jmp 0x1005b08
push ebx
push edi
push 0x105
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x1001244
lea eax, [ebp - 0x108]
push eax
call fcn.01005c3d
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, esi
mov edi, 0x100ac44
je 0x1005a51
push 0x10014ac
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x1005a51
push esi
push edi
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x100b884], esi
jne 0x1005a78
cmp dword [0x100b490], esi
jne 0x1005a78
call fcn.010041c3
test eax, eax
jne 0x1005a78
xor eax, eax
jmp 0x1005b06
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x1005a9f
push esi
push 0x10
push esi
push esi
push 0x4bc
push esi
call fcn.01003943
call fcn.010035be
mov dword [0x100aa5c], eax
jmp 0x1005a71
cmp dword [0x100b88c], esi
jne 0x1005ab0
call fcn.010052ba
test eax, eax
je 0x1005a71
test byte [0x100bba8], 0xc0
jne 0x1005ace
xor eax, eax
mov ax, word [0x100aa64]
push eax
call fcn.01001f30
mov dword [0x100ab84], eax
jmp 0x1005ad4
mov dword [0x100ab84], esi
cmp dword [0x100b884], esi
jne 0x1005aed
cmp dword [0x100b490], esi
jne 0x1005aed
call fcn.01005339
test eax, eax
je 0x1005a71
cmp word [0x100b898], si
jne 0x1005b03
cmp dword [0x100b884], esi
jne 0x1005b03
call fcn.01004708
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1005b69
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x1005b90
inc esi
mov al, byte [esi]
test al, al
je 0x1005b89
cmp al, 0x22
jne 0x1005b7e
cmp byte [esi], 0x22
jne 0x1005ba1
jmp 0x1005ba0
cmp al, 0x20
jle 0x1005ba1
inc esi
cmp byte [esi], 0x20
jg 0x1005b94
jmp 0x1005ba1
cmp al, 0x20
jg 0x1005ba7
inc esi
mov al, byte [esi]
test al, al
jne 0x1005b9c
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x1005bc1
movzx eax, word [ebp - 0x14]
jmp 0x1005bc4
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
inc dword [esi + 0xf]
xchg edx, eax
adc byte [edx], dl
popfd
and eax, 0x30535588
pop eax
les eax, [ecx]
add dword [esi - 0xa530955], esi
movsd dword es:[edi], dword [esi]
sbb dword [edi - 0x2aa907af], eax
mov ebx, 0x58c5b375
out 0x11, eax
ror byte [eax], cl
cmpsd dword [esi], dword es:[edi]
mov eax, dword [0xe6376c67]
adc eax, 0x9aa09437
push cs
mov dword [0xa36978b0], eax
invalid
invalid
jno 0x1005c36
sar dword [0x2e922e6b], 0x15
xor cl, dh
sub dword [edx + 0x2a], ebx
cmpsb byte [esi], byte es:[edi]
inc esi
inc eax
push esp
invalid
invalid

Function at 0x10072bc
Capabilities:
Encode data using xor

Disassembly:
or byte [edx - 0x2a], bl
mov al, 0x7e
stosd dword es:[edi], eax
hlt
je 0x100723d
test dword [edi + 0x11c5c2], eax
sti
xchg esp, eax
sbb esp, esi
mov eax, dword [0x37b91a7]
sub al, 3
cmc
pop es
retf 0x3add
pop ds
xchg edi, eax
dec edx
mov al, 0xb8
xor al, 0x9a
test eax, 0x99a7aea2
add al, 0x7f
push ebx
out dx, eax
add al, bh
cmc
add byte [edi], bl
adc dword [edi], ebx
add cl, ch
imul dword [edx]
jp fcn.010072bc
inc ebp
jb 0x1007284
movsb byte es:[edi], byte [esi]
in al, 0x7a
add dword [edx - 0x8e85de2], edx
inc esp
push es
jecxz fcn.010072bc
retf 0x3c0
Function at 0x4ab274
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
add eax, 0xc
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
test esi, esi
je case.0x4aae8f.0
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x564fc8]
mov dword [esp], eax
call fcn.004ab204
mov ecx, dword [0x564fb0]
mov edi, eax
mov eax, dword [ecx]
test eax, eax
je 0x4ab310
movzx edx, word [esi]
movzx ebp, byte [ecx]
test dx, dx
je 0x4ab437
xor eax, eax
lea esi, [esi]
nop
add eax, 1
cmp word [esi + eax*2], 0
jne 0x4ab2d4
mov ebx, ebp
cmp al, bl
je 0x4ab2ed
cmp byte [ecx + 1], al
jne 0x4ab42a
lea eax, [esi + 2]
xor esi, esi
nop
add eax, 2
add esi, edx
movzx edx, word [eax - 2]
test dx, dx
jne 0x4ab2f4
cmp dword [ecx + 4], esi
je 0x4ab310
cmp dword [ecx + 8], esi
jne 0x4ab42a
mov eax, dword [0x564fa0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [0x564fbc]
xor edx, edx
sub esp, 0x10
test ecx, ecx
je 0x4ab372
lea esi, [esi]
mov ecx, dword [str.VirtualProtect]
mov ecx, dword [ecx + edx]
mov dword [eax + edx], ecx
mov ecx, dword [0x564fa8]
add edx, ecx
mov ecx, dword [0x564fbc]
cmp ecx, edx
ja 0x4ab354
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004ab0b4
mov edi, eax
test eax, eax
je 0x4ab42a
mov esi, dword [0x564fc4]
lea ebp, [esp + 0x2c]
mov edx, dword [0x564fbc]
mov dword [esp + 0xc], ebp
mov eax, dword [0x564f9c]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call edi
mov eax, dword [0x564fd0]
sub esp, 0x10
mov edx, dword [0x564f9c]
mov ebx, dword [esp + 0x1c]
add ebx, eax
mov eax, 8
mov ecx, dword [ebx + 4]
cmp edx, 8
jbe 0x4ab3ee
lea esi, [esi]
nop
mov edx, dword [ebx + eax]
add edx, ecx
mov dword [esi + eax], edx
mov edx, dword [0x564fa8]
add eax, edx
mov edx, dword [0x564f9c]
cmp edx, eax
ja 0x4ab3d4
mov eax, dword [0x564fd8]
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov eax, dword [0x564f9c]
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
call edi
mov eax, dword [0x564fb4]
mov edx, dword [0x564fb4]
sub esp, 0x10
add eax, dword [esi + 0xc]
add eax, esi
add esi, edx
mov dword [esp], esi
call eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, ebp
test al, al
je 0x4ab443
cmp byte [ecx + 1], 0
jne 0x4ab42a
xor esi, esi
jmp 0x4ab302
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x411019
Capabilities:
Terminate process

Disassembly:
jmp 0x412a30
jmp fcn.004131a0
cmp ecx, dword [section..data]
jne 0x412a3a
repz ret
jmp 0x41108c