joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017680
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061da8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10077604]
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, dword [ebp + 8]
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100176e9
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x10017851
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], fcn.10013af0
mov dword [ebp - 0x30], edi
push 0
lea eax, [ebp - 0x14]
movq qword [ebp - 0x20], xmm0
push eax
push 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
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 - 0x28], xmm0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1001776f
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x1001775e
mov eax, dword [esi]
jmp 0x10017760
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 1
jmp 0x10017844
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x2c], eax
call fcn.1005fa9a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10017794
push dword [ebp - 0x2c]
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x10017796
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x2c]
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 0x100177f2
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 0x100177d7
mov eax, dword [esi]
jmp 0x100177d9
mov eax, esi
mov byte [eax], 0
test ebx, ebx
je 0x100177e9
push ebx
call fcn.1005faa3
add esp, 4
mov dword [ebp - 4], 3
jmp 0x10017844
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x1001782a
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 0x10017813
mov eax, dword [esi]
jmp 0x10017815
mov eax, esi
push ebx
mov byte [eax], 0
call fcn.1005faa3
add esp, 4
mov dword [ebp - 4], 4
jmp 0x10017844
add eax, ebx
mov ecx, esi
push eax
call fcn.100017e0
push ebx
call fcn.1005faa3
add esp, 4
mov dword [ebp - 4], 5
test edi, edi
je 0x10017851
push edi
call fcn.10013af0
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.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x10018450
Capabilities:
Terminate process

Disassembly:
call fcn.10017c10
push dword [0x100781c0]
call fcn.10013940
add esp, 4
cmp al, 0xe9
jne 0x1001847e
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push dword [0x100781c0]
call esi
test eax, eax
jne 0x100184c2
mov eax, dword [0x100781c0]
mov dword [0x1007821c], eax
call fcn.1005e2d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1005e7a0
push 0x10016300
push 0x1007821c
call fcn.1005db40
call fcn.1005e330
push 4
push 0x48b2af
call esi
test eax, eax
jne 0x100184ff
push 4
push 0x10017360
call esi
test eax, eax
jne 0x100184ff
push 6
push 0x90
push 0x48b2af
call fcn.100138a0
push 0x10017360
push 0x48b2af
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48b610
call esi
test eax, eax
jne 0x1001853c
push 4
push 0x100173a0
call esi
test eax, eax
jne 0x1001853c
push 6
push 0x90
push 0x48b610
call fcn.100138a0
push 0x100173a0
push 0x48b610
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48b980
call esi
test eax, eax
jne 0x10018579
push 4
push 0x100173e0
call esi
test eax, eax
jne 0x10018579
push 6
push 0x90
push 0x48b980
call fcn.100138a0
push 0x100173e0
push 0x48b980
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48bcf0
call esi
test eax, eax
jne 0x100185b6
push 4
push 0x10017420
call esi
test eax, eax
jne 0x100185b6
push 6
push 0x90
push 0x48bcf0
call fcn.100138a0
push 0x10017420
push 0x48bcf0
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48c060
call esi
test eax, eax
jne 0x100185f3
push 4
push 0x10017460
call esi
test eax, eax
jne 0x100185f3
push 6
push 0x90
push 0x48c060
call fcn.100138a0
push 0x10017460
push 0x48c060
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48c3d0
call esi
test eax, eax
jne 0x10018630
push 4
push 0x100174a0
call esi
test eax, eax
jne 0x10018630
push 6
push 0x90
push 0x48c3d0
call fcn.100138a0
push 0x100174a0
push 0x48c3d0
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48c740
call esi
test eax, eax
jne 0x1001866d
push 4
push 0x100174e0
call esi
test eax, eax
jne 0x1001866d
push 6
push 0x90
push 0x48c740
call fcn.100138a0
push 0x100174e0
push 0x48c740
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48cab0
call esi
test eax, eax
jne 0x100186aa
push 4
push 0x10017520
call esi
test eax, eax
jne 0x100186aa
push 6
push 0x90
push 0x48cab0
call fcn.100138a0
push 0x10017520
push 0x48cab0
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48ce20
call esi
test eax, eax
jne 0x100186e7
push 4
push 0x10017560
call esi
test eax, eax
jne 0x100186e7
push 6
push 0x90
push 0x48ce20
call fcn.100138a0
push 0x10017560
push 0x48ce20
call fcn.10018ad0
add esp, 0x14
push 4
push 0x48d190
call esi
test eax, eax
jne 0x10018724
push 4
push 0x100175a0
call esi
test eax, eax
jne 0x10018724
push 6
push 0x90
push 0x48d190
call fcn.100138a0
push 0x100175a0
push 0x48d190
call fcn.10018ad0
add esp, 0x14
pop esi
ret
Function at 0x10018b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100696f0]
xor ecx, ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x28], 0
nop word [eax + eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xf
jb 0x10018b90
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 0x10018bc1
xor ecx, ecx
jmp 0x10018bd0
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018bc7
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x1c]
push eax
call fcn.1005be00
mov eax, dword [ebp + 0xc]
add esp, 0x1c
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
cmp dword [eax], 0
jbe 0x10018c48
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 0x10018c10
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
cmp edx, dword [eax]
jb 0x10018c02
cmp edi, 0x10
jb 0x10018c92
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x10018c89
test bl, 0x1f
je 0x10018c62
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 0x10018c6f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ebx, eax
cmp ebx, 4
jae 0x10018c7c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ebx, 0x23
jbe 0x10018c87
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ebx, eax
push ebx
call fcn.1005f686
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x10018cb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061f68
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100781f2], 0
mov esi, dword [ebp + 8]
je 0x10018e15
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call edi
sub eax, dword [0x10078240]
sbb edx, dword [0x10078244]
mov dword [ebp - 0x34], edx
jne 0x10018d0e
cmp eax, 0x3e8
jb 0x10018e2c
call edi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [0x10078240], eax
movq qword [ebp - 0x1c], xmm0
mov dword [0x10078244], edx
mov byte [ebp - 0x2d], 0xa1
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.10006c60
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x34], eax
cmp eax, 0x989680
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], vtable.Packet.0
ja 0x10018dbd
lea edi, [eax + 1]
cmp dword [ebp - 0x34], edi
jae 0x10018db0
push edi
lea ecx, [ebp - 0x1c]
call fcn.10006f20
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x2d]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub edx, ecx
mov dword [ebp - 4], 2
mov byte [ebp - 0x2d], 0xa4
cmp edx, 0x989680
ja 0x10018df2
lea edi, [eax + 1]
cmp edx, edi
jae 0x10018de8
push edi
lea ecx, [ebp - 0x1c]
call fcn.10006f20
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x2d]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x14], 0x10
jb 0x10018dfa
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x2c]
call fcn.10015410
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push ecx
call fcn.10013ac0
add esp, 8
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x10018e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100781f2], 0
je 0x10019014
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x10078238]
sbb edx, dword [0x1007823c]
mov dword [ebp - 0x4c], edx
jne 0x10018eab
cmp eax, 0xbb8
jb 0x10019014
call esi
movaps xmm0, xmmword [str.H_f:___e.__t____]
xor ecx, ecx
mov dword [0x10078238], eax
mov dword [0x1007823c], edx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10018ec5
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x44]
push eax
call fcn.1005be00
add esp, 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x45], 0xa1
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10006c60
mov edx, dword [ebp - 0x18]
mov edi, edx
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], vtable.Packet.0
cmp edi, 0x989680
ja 0x10018f90
lea esi, [eax + 1]
cmp edi, esi
jae 0x10018f83
push esi
lea ecx, [ebp - 0x1c]
call fcn.10006f20
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x45]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub edx, ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x45], 0xa5
cmp edx, 0x989680
ja 0x10018fc2
lea esi, [eax + 1]
cmp edx, esi
jae 0x10018fb8
push esi
lea ecx, [ebp - 0x1c]
call fcn.10006f20
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x45]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10015410
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.10013ac0
add esp, 8
test esi, esi
je 0x10018ffd
mov eax, dword [ebp - 0x14]
push 1
sub eax, esi
push eax
push esi
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10019014
push 1
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x10019030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, byte [ebp + 8]
cmp bl, 0x41
je 0x10019117
push 0xd78dd4
call fcn.10013970
add esp, 4
mov esi, eax
call fcn.10001ad0
cmp esi, eax
jne 0x10019098
push 0xd78dd4
call fcn.10013970
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x10019117
movaps xmm0, xmmword [0x100696e0]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
movzx eax, bl
movaps xmm0, xmmword [str.AM_f]
push eax
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x21f1903
mov word [ebp - 0x54], 1
mov al, byte [ebp - 0x78]
xor byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0x24
jb 0x100190c1
sub esp, 0x18
mov byte [ebp - 0x53], 0
lea eax, [ebp - 0x77]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x50]
push eax
call fcn.100322e0
push eax
mov dword [ebp - 4], 0
call fcn.10018cb0
mov eax, dword [ebp - 0x3c]
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10019117
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
push dword [0x10078224]
call fcn.1001cdd0
add esp, 4
test eax, eax
je 0x100191b4
movaps xmm0, xmmword [0x100696d0]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x383d39
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x12
jb 0x10019141
cmp byte [ebp - 0x1f], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jne 0x1001916e
xor ecx, ecx
jmp 0x1001917d
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019174
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x38]
call fcn.10002800
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
call fcn.10018cb0
mov eax, dword [ebp - 0x24]
add esp, 4
cmp eax, 0x10
jb 0x100191b4
push 1
inc eax
push eax
push dword [ebp - 0x38]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10069780]
push esi
mov esi, ecx
mov dword [ebp - 0x24], 0x1f13195e
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x20], 0
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x13
jb 0x1001c9a0
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x1c]
push 0x10078100
push eax
call fcn.10006fd0
mov eax, dword [esi + 0x1fc]
add esp, 0xc
test eax, eax
je 0x1001c9d7
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x8010
cmovae eax, dword [ebp - 0x1c]
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 0x1001ca15
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x1001ca15
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [ebp - 8]
pop esi
cmp eax, 0x10
jb 0x1001ca2d
push 1
inc eax
push eax
push dword [ebp - 0x1c]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x1001cbf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062260
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10077604]
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
movaps xmm0, xmmword [0x10069790]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1001cc28
mov byte [ebp - 0x24], 0x70
mov al, 0x1e
xor al, byte [ebp - 0x24]
mov bl, 0x1c
mov ah, bl
mov byte [ebp - 0x23], al
mov al, byte [ebp - 0x24]
mov dl, 0x14
mov bh, ah
mov byte [ebp - 0x15], ah
xor bl, al
mov byte [ebp - 0x1a], 0
xor ah, al
mov byte [ebp - 0x29], 0
xor bh, al
mov byte [ebp - 0x1f], ah
mov dh, dl
mov byte [ebp - 0x20], bl
xor dl, al
mov byte [ebp - 0x1c], bh
xor dh, al
mov byte [ebp - 0x21], dl
mov cl, 4
mov byte [ebp - 0x1d], dh
xor cl, al
mov byte [ebp - 0x1a], 0
mov ch, 0x5e
mov byte [ebp - 0x22], cl
xor ch, al
mov al, byte [ebp - 0x15]
xor al, byte [ebp - 0x24]
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x23]
mov byte [ebp - 0x1e], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xd78dd4
mov edi, eax
call fcn.10013970
add esp, 4
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1001cdae
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call edi
test eax, eax
jns 0x1001cd40
movaps xmm0, xmmword [0x100697c0]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x2a65
mov byte [ebp - 0x26], 0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x11
jb 0x1001ccf2
lea eax, [ebp - 0x37]
mov byte [ebp - 0x26], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.100017e0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
call fcn.10018cb0
mov eax, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1001cd40
inc eax
push 1
push eax
push dword [ebp - 0x68]
call fcn.10002610
add esp, 0xc
cmp dword [ebp - 0x14], 0
jbe 0x1001cda7
movaps xmm0, xmmword [0x100697a0]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x1110111b
mov word [ebp - 0x3c], 0x54
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x14
jb 0x1001cd60
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x3b], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.100017e0
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 1
push eax
call fcn.10018cb0
mov eax, dword [ebp - 0x6c]
add esp, 4
cmp eax, 0x10
jb 0x1001cda7
push 1
inc eax
push eax
push dword [ebp - 0x80]
call fcn.10002610
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x1001ced0
Capabilities:
Allocate or change rwx memory
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 [0x10077604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov cl, 0x6d
mov dword [ebp - 0x2f8], 0x1193f6d
xor eax, eax
mov dword [ebp - 0x2f4], 0x90c0221
mov dword [ebp - 0x2f0], 0x41f193e
mov word [ebp - 0x2ec], 0xa03
mov byte [ebp - 0x2ea], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1001cf35
mov cl, byte [ebp - 0x2f8]
jmp 0x1001cf20
mov byte [ebp - 0x2e8], 0x70
mov al, 0x1e
xor al, byte [ebp - 0x2e8]
mov bl, 0x1c
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x14
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, 4
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x5e
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 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 0x1001cffb
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005f6be
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 0x1001cfe8
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 0x1001cfe8
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1001cfe8
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1001cfe8
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], edi
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1001cfe8
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.1005f6be
mov esp, ebp
pop ebp
ret