joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100018e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a21b8
push 0x10068be0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100a8080]
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 dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001975
xor al, al
jmp 0x100019fe
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100019a0
xor al, al
jmp 0x100019fe
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x100019eb
jmp eax
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.10067570
mov esp, ebp
pop ebp
ret
Function at 0x10002570
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x100acb38
call fcn.1006ae00
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1000259b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x100025a6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x100025b1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x100025bc
bts eax, 4
shr ecx, 1
test cl, 1
je 0x100025c7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x100025d2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x100025dd
bts eax, 1
test cl, 2
je 0x100025e6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
xor edx, edx
lea ecx, [edx + 1]
nop dword [eax]
test bl, 1
je 0x1000267f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10002670
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x100acb38], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10002590
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100026b0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x100a8080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x100954f4
push eax
or ebx, 0xffffffff
call fcn.1006c74e
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x100026f6
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067570
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax + eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1006c93f
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x1000274d
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100acb38]
sub edx, 1
jne 0x10002725
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x10002700
push dword [ebp - 0x408]
call fcn.1006cae6
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.10067570
mov esp, ebp
pop ebp
ret 4
Function at 0x10005360
Capabilities:
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10005493
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov bh, 0xb
mov al, 0x44
mov byte [ebp - 8], 0
mov ah, 0x4f
mov byte [ebp - 0x10], bh
xor al, bh
mov byte [ebp - 8], 0
xor ah, bh
mov byte [ebp - 0xf], al
push 0
mov byte [ebp - 0xb], ah
mov cl, 0x47
lea eax, [ebp - 0xf]
mov dl, cl
push eax
mov ch, 0x49
mov dh, 0x4c
mov bl, 0x52
xor cl, bh
push 0
xor dl, bh
mov byte [ebp - 0xe], cl
xor ch, bh
mov byte [ebp - 0xd], dl
xor dh, bh
mov byte [ebp - 0xa], ch
xor bl, bh
mov byte [ebp - 9], dh
push 0
mov byte [ebp - 0xc], bl
call esi
test eax, eax
je 0x1000541d
mov bh, 0x42
mov byte [ebp - 8], 0
push 0
push 0
mov al, 0xd
mov byte [ebp - 0x10], bh
mov ah, 6
xor al, bh
push 0x10
xor ah, bh
mov byte [ebp - 0xf], al
push 0
mov byte [ebp - 0xb], ah
mov cl, 0xe
lea eax, [ebp - 0xf]
mov dl, cl
push eax
xor ch, ch
mov dh, 5
mov bl, 0x1b
xor cl, bh
push 0
xor dl, bh
mov byte [ebp - 0xe], cl
xor ch, bh
mov byte [ebp - 0xd], dl
xor dh, bh
mov byte [ebp - 0xa], ch
xor bl, bh
mov byte [ebp - 9], dh
push 0
mov byte [ebp - 0xc], bl
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dl, 0x17
mov byte [ebp - 1], 0
mov al, 0x5e
mov byte [ebp - 4], dl
xor al, dl
mov byte [ebp - 1], 0
push 0
mov byte [ebp - 3], al
mov cl, 0x53
lea eax, [ebp - 3]
xor cl, dl
push eax
push 0
push 0
mov byte [ebp - 2], cl
call esi
test eax, eax
je 0x1000547c
push 0
push 0
mov dl, 0x7b
mov byte [ebp - 1], 0
mov al, 0x32
mov byte [ebp - 4], dl
push 0x10
xor al, dl
mov byte [ebp - 1], 0
push 0
mov byte [ebp - 3], al
mov cl, 0x3f
lea eax, [ebp - 3]
xor cl, dl
push eax
push 0
push 0
mov byte [ebp - 2], cl
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
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]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10005930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.10002570
call fcn.10001e60
test al, al
je 0x100059b6
movaps xmm0, xmmword [0x1009f900]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x10f
mov byte [ebp - 2], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10005960
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.100026b0
cmp eax, 0xba2d38a3
jne 0x100059b6
movaps xmm0, xmmword [str.e_zoz4Atuh5oyw]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
nop
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10005990
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.100026b0
cmp eax, 0x27b35bb1
jne 0x100059b6
call fcn.100022f0
call fcn.10011a50
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x100054a0
push 0
push 0
mov dword [0x100acf40], eax
mov dword [0x100acf44], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x10006600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088078
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100a8080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
push eax
call fcn.10068eea
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 4], vtable.boost::lock_error.0
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x10006696
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::lock_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::lock_error_.1.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::lock_error_.2.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100071b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088078
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100a8080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
push eax
call fcn.10068eea
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 4], vtable.boost::thread_resource_error.0
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x10007246
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::thread_resource_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::thread_resource_error_.1.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::thread_resource_error_.2.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e5b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x100a8a6c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100a8a6c], edx
inc eax
cmp eax, 0x270
jb 0x1000e5c1
mov dword [0x100a8a68], 0x270
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1000e64d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x1000e610
mov eax, dword [esi]
jmp 0x1000e72b
cmp eax, 0x4e0
jb 0x1000e72b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1000e666
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1000e6b1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
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
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000fd80
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x100acf94
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000fe60
push 0x100acf90
push 0
push 0
push 0x8004
push dword [0x100acf94]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000fe60
movaps xmm0, xmmword [0x1009fb40]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x336b3d3a
movaps xmm0, xmmword [0x100a0280]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x396f291b
movaps xmm0, xmmword [0x100a03d0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x7a2b210e
mov word [ebp - 4], 0x26
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000fe04
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100acf90]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000fe60
push 0x100acf8c
push 0x800000
push dword [0x100acf90]
push 0x6801
push dword [0x100acf94]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000fe60
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100acf88], eax
call fcn.100661c0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10066690
push 0x1000fc40
push 0x100acf84
call fcn.10065ed0
call fcn.10066220
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000fecf
mov dword [0x100acf84], 0x60f6e0
call fcn.100661c0
call esi
push eax
call fcn.10066690
push 0x1000fc40
push 0x100acf84
call fcn.10065a40
call fcn.10066220
call fcn.100661c0
call esi
push eax
call fcn.10066690
push 0x1000fc70
push 0x100acf80
call fcn.10065ed0
call fcn.10066220
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000ff2c
mov dword [0x100acf80], 0x60eab0
call fcn.100661c0
call esi
push eax
call fcn.10066690
push 0x1000fc70
push 0x100acf80
call fcn.10065a40
call fcn.10066220
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x100a8080]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x1009fbe0]
xor ecx, ecx
mov eax, dword [0x100ad020]
push ebx
push esi
push edi
mov edi, dword [0x100acff0]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
nop dword [eax]
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x10013fa0
sub esp, 0x18
mov byte [esp + 0x3c], 0
mov edx, esp
lea ecx, [esp + 0x2d]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013fd3
sub ecx, esi
lea eax, [esp + 0x2d]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea ecx, [esp + 0x44]
call fcn.100633f0
add esp, 0x18
xor ebx, ebx
test edi, edi
jle 0x1001403f
nop dword [eax + eax]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
mov edi, dword [esp + 0x2c]
cmp edx, 0xf
cmova ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014015
sub ecx, esi
mov eax, ebx
cmp edx, 0xf
lea esi, [esp + 0x2c]
cmova esi, edi
xor edx, edx
div ecx
mov ecx, dword [esp + 0x10]
mov al, byte [edx + esi]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, dword [esp + 0xc]
jl 0x10014000
mov ecx, dword [esp + 0x40]
cmp ecx, 0xf
jbe 0x10014071
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10014067
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014083
push ecx
push edx
call fcn.100675d1
add esp, 8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10067570
mov esp, ebp
pop ebp
ret
call fcn.1006cd3b
int3
Function at 0x1001b700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100a8080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1008dfd4
push 0x64
mov edi, edx
mov esi, ecx
call fcn.100679de
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1001b8dd
push 0x64
push 0
push ebx
call fcn.1006ae00
mov byte [ebx], 1
lea eax, [ebx + 0x34]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebx + 0x10], xmm0
movq qword [ebx + 0x20], xmm0
mov dword [ebx + 0x28], 0
push eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 4], 2
mov dword [ebx + 0x30], 0
call fcn.100640d2
add esp, 4
mov dword [0x100de5bc], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.1001a630
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x100a9ea4
mov dword [0x100e29f4], eax
call fcn.100641a3
add esp, 4
test eax, eax
jne 0x1001b8f8
mov eax, dword [0x100a9ed0]
cmp eax, 0x7fffffff
je 0x1001b8ff
test edi, edi
je 0x1001b7f5
movups xmm0, xmmword [edi]
movups xmmword [0x100de7c0], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x1001b7ff
xorps xmm0, xmm0
movups xmmword [0x100de7c0], xmm0
movq qword [0x100de7d0], xmm0
xorps xmm0, xmm0
push 0x100a9ea4
movups xmmword [0x100de9d8], xmm0
movq qword [0x100de9e8], xmm0
call fcn.100641b4
add esp, 4
cmp dword [0x100e2af8], 0
jne 0x1001b8e7
mov dword [0x100ce3d8], 0x100a9e9c
test esi, esi
je 0x1001b868
cmp byte [esi], 0
mov ecx, 0x100ce3e8
je 0x1001b865
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x1001b865
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x1001b852
mov byte [ecx], 0
mov esi, dword [0x100de5bc]
mov al, 1
mov dword [0x100e2af8], 0x100ce3d8
mov dword [0x100ce3e0], 0x1001bd60
mov dword [0x100ce3e4], 0x1001bd70
xchg byte [esi], al
push 4
call fcn.1006757e
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x1001c150
push 0
push 0
call fcn.10070be9
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x1001b911
cmp dword [esi + 0x60], 0
jne 0x1001b90c
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067570
mov esp, ebp
pop ebp
ret
mov dword [0x100de5bc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10067570
mov esp, ebp
pop ebp
ret
push 5
call fcn.1006414b
dec eax
push 6
mov dword [0x100a9ed0], eax
call fcn.1006414b
call fcn.10070c7c
push 6
mov dword [ebp - 0x4c], 0
call fcn.1006414b
int3
Function at 0x1001c840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a8080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x100e2af8]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.10069130
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x1001c912
mov eax, dword [edi]
test eax, eax
je 0x1001c8c1
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x1001c8c1
test ebx, ebx
je 0x1001c8c1
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1001c8c1
cmp dword [ebp - 8], esi
je 0x1001c912
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1001c8e1
mov eax, dword [edi + 4]
cmp eax, 3
je 0x1001c8d5
cmp eax, 1
jne 0x1001c8e1
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067570
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10067570
mov esp, ebp
pop ebp
ret 8
Function at 0x10020b50
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 [0x100a8080]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x42
mov dword [ebp - 0x2f8], 0x2e361042
mov dword [ebp - 0x2f4], 0x26232d0e
xor eax, eax
mov dword [ebp - 0x2f0], 0x2b303611
mov word [ebp - 0x2ec], 0x252c
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x10020baa
mov cl, byte [ebp - 0x2f8]
jmp 0x10020b95
push ebx
mov byte [ebp - 0x2e8], 0xb
mov al, 0x65
xor al, byte [ebp - 0x2e8]
mov bl, 0x67
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x6f
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, 0x7f
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x25
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
je 0x10020d22
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 0x10020d22
push 0x2c8
lea eax, [ebp - 0x2d4]
push 0
push eax
call fcn.1006ae00
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 0x10020d22
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10020d22
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10020d22
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001a20
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10020d22
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067570
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10067570
mov esp, ebp
pop ebp
ret