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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40b0b7
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40b086
jmp 0x40b0b7
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40b0a7
pop esi
pop ebp
ret

Function at 0x40be0f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40be44
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40be6e
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40be6e
test edi, edi
je 0x40be3b
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40be3b
test edi, edi
je 0x40be76
mov eax, edi
jmp 0x40be3d
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40be3d
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040e98c
add esp, 0xc
int3
Function at 0x40e9c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestMathAlgorithms.exe_gMozillaPoisonSize], eax
call fcn.0040be0f
pop ecx
mov ecx, dword [sym.TestMathAlgorithms.exe_gMozillaPoisonSize]
mov dword [sym.TestMathAlgorithms.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40e9f8
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestMathAlgorithms.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x2e02789b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x2e0278aa
pop dword [ebp - 0x20]
mov eax, 0xe4928d49
add eax, 0x496feb61
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x770d3443
add dword [ebp - 0x30], 0xd7451108
mov dword [ebp - 0x2c], 0x50ce4adc
sub dword [ebp - 0x2c], 0x1e9afe97
mov dword [ebp - 0x28], 0x344f6abb
sub dword [ebp - 0x28], 0xe803268d
mov dword [ebp - 0x24], 0x9a47475f
sub dword [ebp - 0x24], 0x9a47475f
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xbf9a9c9e
add dword [ebp - 0x30], 0xb4d7ccb8
mov dword [ebp - 0x2c], 0x42ba49cb
add dword [ebp - 0x2c], 0xfeb217aa
mov dword [ebp - 0x28], 0xc809715f
sub dword [ebp - 0x28], 0x649a04f3
mov dword [ebp - 0x24], 0xed6fdfcc
add dword [ebp - 0x24], 0x12902034
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3ea10
push 0
call eax
mov ecx, 0xa9bd5462
add ecx, 0x5642ea20
xor esi, esi
add esi, eax
mov edx, 0x4b6785a6
add edx, 0xe29de85a
add edx, dword [ebp - 0x20]
mov edi, 0x48bcff0b
add edi, 0x9144d2fd
xor dword [ebp - 0x1c], 0x3a5ce4e4
mov ebx, dword [edx]
mov dword [ebp - 0x1c], 0xcaf206ff
sub ebx, edi
xor dword [ebp - 4], edi
mov dword [esi], ebx
sub dword [ebp - 4], 0xf5cee34f
add esi, 0xbb66604
add esi, 0xf4499a00
add edx, 0xd560034a
add edx, 0x2a9ffcba
loop 0x2e0279c4
add eax, 0x5d6794
sub eax, 0x5c7ab9
xor ebx, ebx
add ebx, eax
add eax, 0x900df84b
add eax, 0x6ff207ba
mov ecx, 0x9ad064b5
sub ecx, 0x6cd064b5
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1000d940
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000db04
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x1000d96a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000d971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000d960
mov eax, 1
add ebx, ebx
jne 0x1000d983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1000d978
jne 0x1000d994
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000d978
xor ecx, ecx
sub eax, 3
jb 0x1000d9a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000da1a
mov ebp, eax
add ebx, ebx
jne 0x1000d9b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000d9c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000d9e4
inc ecx
add ebx, ebx
jne 0x1000d9d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1000d9c5
jne 0x1000d9e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000d9c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1000da04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000d9f5
jmp 0x1000d966
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000da04
add edi, ecx
jmp 0x1000d966
pop esi
mov edi, esi
mov ecx, 0x23
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1000da22
cmp byte [edi], 1
jne 0x1000da22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1000da27
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x1000da96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd088]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd100]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000da54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd104]
or eax, eax
je 0x1000da90
mov dword [ebx], eax
add ebx, 4
jmp 0x1000da71
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000dac7
cmp al, 0xef
ja 0x1000daba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000da9c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000daa9
mov ebp, dword [esi + 0xd108]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1000dafb
sub esp, 0xffffff80
jmp 0x100028a7
Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb

Function at 0x422c43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x422c52
pop dword [ebp - 0x44]
mov eax, 0x83bbd7f7
add eax, 0x7c86545b
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x4c19a
push 0
mov eax, 0xbbda04eb
sub eax, 0xbb964293
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x42c8
xor edi, edi
add edi, eax
mov ebx, 0x838971e4
sub ebx, 0x8342bfe4
add ebx, dword [ebp - 0x44]
mov edx, 0xec141efe
sub dword [ebp - 0x14], 0xdd73d6ce
mov esi, dword [ebx]
add dword [ebp - 0x30], 0xe5a67c2
xor esi, edx
xor dword [ebp - 0xc], ecx
mov dword [edi], esi
sub dword [ebp - 0x2c], 0xd1139487
add edi, 0xb6c8e94f
add edi, 0x493716b5
add ebx, 0x12c19657
sub ebx, 0x12c19653
loop 0x422ca7
add eax, 0xc75639a1
sub eax, 0xc7553bae
xor ebx, ebx
add ebx, eax
add eax, 0xe68d4b22
add eax, 0x1972b4e3
mov ecx, 0x98177553
add ecx, 0x68288aad
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x635f6e7d
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
mov ecx, 0x62483589
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x426250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8168
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x51c5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov al, byte [ebp + 8]
lea esi, [edi + 8]
mov dword [edi], 0x4eb260
mov byte [edi + 4], al
mov dword [ebp + 8], esi
push 0x14
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b1e12
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x10], 0
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], ecx
call fcn.0046bf90
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x44]
mov byte [ebp - 4], 6
push 0x14
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b1e12
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x4c], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
call fcn.0046c440
add esp, 8
push str.request_context_per_browser
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 9
call fcn.004068c0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov byte [edi + 5], al
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x20], 0x4e9658
test eax, eax
je 0x426380
cmp byte [ebp - 0x18], 0
je 0x426380
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x1c]
call fcn.004b1e42
add esp, 0xc
push str.request_context_shared_cache
lea ecx, [ebp - 0x20]
call fcn.004068c0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov byte [edi + 6], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x4e9658
test eax, eax
je 0x4263c9
cmp byte [ebp - 0x18], 0
je 0x4263c9
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x1c]
call fcn.004b1e42
add esp, 0xc
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4263f9
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4547d0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd490
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x51c5a4]
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 eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], ecx
test dword [ebp + 0xc], eax
jne 0x454816
xor al, al
jmp 0x454958
push 0
push 0
push eax
push ecx
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebx, eax
test ebx, ebx
jle 0x45480f
mov eax, 0
mov dword [ebp - 0x38], eax
mov esi, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
add ebx, 2
jne 0x454840
xor edi, edi
jmp 0x454874
cmp ebx, 0x7fffffff
ja 0x45497b
push ebx
lea ecx, [ebp - 0x38]
call fcn.00446550
lea ecx, [ebx + ebx]
mov dword [ebp - 0x38], eax
push ecx
push 0
lea esi, [ecx + eax]
mov edi, eax
push eax
mov dword [ebp - 0x30], esi
call fcn.004b4570
add esp, 0xc
mov dword [ebp - 0x34], esi
mov eax, edi
push ebx
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
push dword [ebp - 0x3c]
call sub.IMM32.dll_ImmGetCompositionStringW
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4548a1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.004465c0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test edx, edx
jne 0x4548da
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
test eax, eax
je 0x454921
push eax
call sub.libcef.dll_cef_string_utf16_clear
add esp, 4
jmp 0x454921
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x454909
push 0xc
call fcn.004b1e12
mov dword [ebx + 4], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov byte [ebx + 8], 1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push ecx
push edx
push eax
call sub.libcef.dll_cef_string_utf16_set
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.004455a0
test edi, edi
je 0x454956
sub esi, edi
and esi, 0xfffffffe
cmp esi, 0x1000
jb 0x45494c
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x454976
mov edi, ecx
push esi
push edi
call fcn.004b1e42
add esp, 8
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.004b1e50
mov esp, ebp
pop ebp
ret 0x10
call fcn.004b744c
call fcn.00412e40
int3
Function at 0x46b770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
and esi, 1
push 0x11
add esi, esi
call ebx
shr eax, 0xf
mov edi, esi
or edi, 4
and al, 1
push 0x12
cmove edi, esi
call ebx
shr eax, 0xf
mov esi, edi
or esi, 8
and al, 1
push 0x90
cmove esi, edi
call ebx
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call ebx
mov ebx, edi
or ebx, 1
and al, 1
mov eax, dword [ebp + 8]
cmove ebx, edi
add eax, 0xfffffff4
mov esi, ebx
cmp eax, 0x84
ja case.0x46b7e5.14
movzx eax, byte [eax + 0x46b8c0]
jmp dword [eax*4 + 0x46b89c]
mov eax, dword [ebp + 0xc]
or esi, 0x200
and eax, 0x1000000
pop edi
cmove esi, ebx
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
or esi, 0x200
and eax, 0x1000000
pop edi
cmovne esi, ebx
mov eax, esi
pop esi
pop ebx
pop ebp
ret
or esi, 0x200
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne case.0x46b7e5.91
push 0xa1
call edi
shr eax, 0xf
test al, 1
je case.0x46b7e5.14
or esi, 0x800
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
shr eax, 0xf
test al, 1
jne case.0x46b7e5.91
push 0xa3
jmp 0x46b842
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
shr eax, 0xf
test al, 1
jne case.0x46b7e5.91
push 0xa5
jmp 0x46b842
or esi, 0x400
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x46b950
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
shr ecx, 1
mov eax, ebx
and ecx, 4
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
or esi, 2
and al, 4
push 0x12
cmove esi, ecx
call edi
shr eax, 0xf
mov ecx, esi
or ecx, 8
and al, 1
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 0x10
and al, 1
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
and al, 0x10
push 0x90
cmove ecx, edx
mov esi, ecx
or esi, 0x40
and bl, 2
cmove esi, ecx
call edi
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, edi
or ecx, 1
and al, 1
cmove ecx, edi
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x4c8d7f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c8bf5
Function at 0x10001920
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001a1a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10001a13
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100019f9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100019f9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100019f9
mov edx, dword [esi]
test edx, edx
jne 0x100019c2
push 0x200
push edx
push dword [0x10008814]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10001a13
jmp 0x100019ed
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100019ed
shl eax, 3
push eax
push edx
push 0
push dword [0x10008814]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10001a13
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10001981
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10001a5f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10001a5f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001a59
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.100017b0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10001a26
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004a92
mov esp, ebp
pop ebp
ret
Function at 0x10001a70
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10008824]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], ebx
test ecx, ecx
je 0x10001bdd
mov eax, dword [0x1000881c]
add eax, 0x14
nop
test byte [eax], 2
je 0x10001abf
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10001aa0
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004a92
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10001bdd
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10001920
add esp, 4
cmp esi, dword [0x10008824]
jae 0x10001b90
imul ecx, esi, 0x2c
mov dword [ebp - 0x10], ecx
nop dword [eax + eax]
mov edi, dword [0x1000881c]
add edi, ecx
mov dl, byte [edi + 0x14]
test dl, 2
jne 0x10001b6e
mov eax, dword [edi]
lea ecx, [ebp - 8]
and dl, 1
push ecx
push 0x40
lea ebx, [eax - 5]
cmove ebx, eax
movzx eax, dl
lea eax, [eax*2 + 5]
push eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10001b88
mov byte [ebx], 0xe9
mov eax, dword [edi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [edi + 0x14], 1
je 0x10001b45
mov eax, dword [edi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [edi + 0x14], 6
mov ecx, dword [ebp - 0x10]
inc esi
add ecx, 0x2c
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
cmp esi, dword [0x10008824]
jb 0x10001af0
jmp 0x10001b90
mov ebx, 0xa
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10001bdc
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x10001bcd
mov ebx, eax
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10001bc1
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x10001ba0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
push eax
push 0
push dword [0x10008814]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.10004a92
mov esp, ebp
pop ebp
ret
Function at 0x10002e00
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 1
jne 0x10002f4e
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp + 0xc], eax
mov edx, eax
mov dword [ebp - 4], ecx
nop dword [eax + eax]
mov ebx, dword [ecx + 0x18]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10002e92
mov esi, dword [eax + 0x18]
test esi, esi
je 0x10002e92
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, ebx
mov ecx, dword [edi - 4]
lea edi, [edi - 4]
add ecx, ebx
dec esi
mov edx, 0xab1c9ff5
mov al, byte [ecx]
inc ecx
test al, al
je 0x10002e88
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x10002e67
cmp edx, 0x8d811a33
je 0x10002f59
test esi, esi
jne 0x10002e52
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 4], ecx
cmp eax, edx
je 0x10002ea3
cmp dword [ecx + 0x18], 0
jne 0x10002e30
xor eax, eax
push dword [ebp + 8]
call eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp + 0xc], eax
mov edx, eax
mov dword [ebp + 8], ecx
mov ebx, dword [ecx + 0x18]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10002f27
mov esi, dword [eax + 0x18]
test esi, esi
je 0x10002f27
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, ebx
mov eax, dword [edi - 4]
lea edi, [edi - 4]
add eax, ebx
dec esi
mov edx, 0xa21a5333
mov cl, byte [eax]
inc eax
test cl, cl
je 0x10002f1d
nop dword [eax]
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x10002f00
cmp edx, 0xbafd808b
je 0x10002f76
test esi, esi
jne 0x10002ee4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp + 8], ecx
cmp eax, edx
je 0x10002f38
cmp dword [ecx + 0x18], 0
jne 0x10002ec2
xor eax, eax
push 0
push 0
push 0
push 0x100025e0
push 0
push 0
call eax
pop edi
pop esi
pop ebx
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
jmp 0x10002ea5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
jmp 0x10002f3a