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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
vucomiss xmm1, dword [0x10133560]
push esi
lahf
mov esi, edx
push edi
mov edi, ecx
vmovss dword [ebp - 0xc], xmm2
vmovss dword [ebp - 8], xmm1
test ah, 0x44
jp 0x1001b359
mov eax, dword [ebp + 8]
vmovss dword [eax], xmm2
vmovss dword [esi], xmm2
vmovss dword [edi], xmm2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fld1
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
vmovss xmm2, dword [0x10133680]
vmovss xmm6, dword [ebp - 8]
vmovss xmm3, dword [ebp - 0xc]
fstp qword [ebp - 0x14]
vmovsd xmm0, qword [ebp - 0x14]
vcvtpd2ps xmm0, xmm0
vdivss xmm1, xmm0, dword [0x101335dc]
vxorps xmm0, xmm0, xmm0
vcvttss2si eax, xmm1
vcvtsi2ss xmm0, xmm0, eax
vsubss xmm1, xmm1, xmm0
vsubss xmm0, xmm2, xmm6
vmulss xmm4, xmm0, xmm3
vmulss xmm0, xmm1, xmm6
vsubss xmm0, xmm2, xmm0
vmulss xmm5, xmm0, xmm3
vsubss xmm0, xmm2, xmm1
vmulss xmm0, xmm0, xmm6
vsubss xmm0, xmm2, xmm0
vmulss xmm0, xmm0, xmm3
cmp eax, 5
ja case.0x1001b3cb.5
jmp dword [eax*4 + 0x1001b450]
mov eax, dword [ebp + 8]
vmovss dword [edi], xmm3
vmovss dword [esi], xmm0
vmovss dword [eax], xmm4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
vmovss dword [edi], xmm5
vmovss dword [esi], xmm3
vmovss dword [eax], xmm4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
vmovss dword [edi], xmm4
vmovss dword [esi], xmm3
vmovss dword [eax], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
vmovss dword [edi], xmm4
vmovss dword [esi], xmm5
vmovss dword [eax], xmm3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
vmovss dword [edi], xmm0
vmovss dword [esi], xmm4
vmovss dword [eax], xmm3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
vmovss dword [edi], xmm3
vmovss dword [esi], xmm4
pop edi
vmovss dword [eax], xmm5
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001c840
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10137008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1010c458]
sub esi, 1
jne 0x1001c873
mov eax, dword [0x10141c24]
not ebx
cmp dword [eax + 0x1bd0], ebx
jne 0x1001c8a2
mov dword [eax + 0x1bd4], ebx
cmp dword [eax + 0x1c0c], ebx
jne 0x1001c8b1
mov byte [eax + 0x1c10], 1
cmp dword [eax + 0x1bb8], ebx
jne 0x1001c8ca
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.1002bd50
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100eeb4d
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c8e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10137008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
vmovss xmm0, dword [edx]
mov edi, 0x10
vsubss xmm0, xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 4]
vsubss xmm0, xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 8]
vsubss xmm0, xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 0xc]
vsubss xmm0, xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
vcvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1010c458]
sub edi, 1
jne 0x1001c954
mov eax, dword [0x10141c24]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bd0], edx
jne 0x1001c985
mov dword [eax + 0x1bd4], edx
cmp dword [eax + 0x1c0c], edx
jne 0x1001c994
mov byte [eax + 0x1c10], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100eeb4d
mov esp, ebp
pop ebp
ret 4

Function at 0x10020640
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1002067d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10020663
cmp byte [esi], bl
jne 0x10020663
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x1010c458]
test bl, bl
jne 0x10020654
pop edi
pop esi
not ecx
pop ebx
jmp fcn.100205d0

Function at 0x10025b50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10141c24]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b98]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1010c458]
sub esi, 1
jne 0x10025b87
mov eax, dword [0x10141c24]
not ebx
cmp dword [eax + 0x1bb8], ebx
jne 0x10025bc1
push ecx
push dword [ebp - 8]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1002bd50
add esp, 8
mov esi, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10025bee
inc ecx
test esi, esi
je 0x10025bda
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10025bdf
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1002c3d0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002af60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2f6c], 0
lea esi, [edi + 0x2f70]
je 0x1002afe2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002af9c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002c6c0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1001b580
mov edx, dword [esi]
mov ecx, 0x10141c20
push dword [edi + 0x2f6c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f78]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1001b580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002d773
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100340c0
mov dword [esi], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jns 0x1002d799
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0xc]
call fcn.1002c740
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jns 0x1002d7c0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x18]
call fcn.1002c530
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x2c]
vpxor xmm0, xmm0, xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x24], eax
vmovdqu xmmword [esi + 0x60], xmm0
vmovq qword [esi + 0x70], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x40]
test ecx, ecx
jns 0x1002d813
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x3c]
call fcn.10034040
mov dword [esi + 0x3c], 0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jns 0x1002d83a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x48]
call fcn.1002c3d0
mov dword [esi + 0x48], 0
mov ecx, dword [esi + 0x58]
test ecx, ecx
jns 0x1002d861
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x54]
call fcn.1002c950
mov dword [esi + 0x54], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 1
mov eax, dword [esi]
mov edi, dword [esi + 4]
vpxor xmm0, xmm0, xmm0
cmp eax, edi
jne 0x1002d8ad
lea ecx, [eax + 1]
test edi, edi
je 0x1002d895
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002d89a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100340c0
mov eax, dword [esi]
vpxor xmm0, xmm0, xmm0
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
vmovdqu ymmword [eax + ecx*8], ymm0
vmovq qword [eax + ecx*8 + 0x20], xmm0
vmovss xmm0, dword [0x10133680]
inc dword [esi]
vmovss dword [esi + 0x8c], xmm0
vzeroupper
pop edi
pop esi
ret
Function at 0x1002d8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002d91c
mov eax, dword [0x10141c24]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1002d906
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1002d956
mov eax, dword [0x10141c24]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1002d940
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1002d990
mov eax, dword [0x10141c24]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1002d97a
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1002d9e6
mov eax, dword [0x10141c24]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1002d9d0
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1002da20
mov eax, dword [0x10141c24]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1002da0a
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1002da5a
mov eax, dword [0x10141c24]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1002da44
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10030570
Function at 0x1004e970
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10137008]
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 0x1004ea6a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1004ea63
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x1004ea49
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1004ea49
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1004ea49
mov edx, dword [esi]
test edx, edx
jne 0x1004ea12
push 0x200
push edx
push dword [0x10141c30]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1004ea63
jmp 0x1004ea3d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1004ea3d
shl eax, 3
push eax
push edx
push 0
push dword [0x10141c30]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1004ea63
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 0x1004e9d1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1004eaaf
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1004eaaf
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 0x1004eaa9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.1004e800
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1004ea76
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100eeb4d
mov esp, ebp
pop ebp
ret
Function at 0x1004eac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10137008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x10141fc0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1004eb1c
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100eeb4d
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1004eb37
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100eeb4d
mov esp, ebp
pop ebp
ret

Function at 0x1004eb70
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x10141fc8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x1004ec4d
mov eax, dword [0x10141fc0]
add eax, 0x14
test byte [eax], 2
je 0x1004ebaa
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x1004eb95
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1004ec4d
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1004e970
mov ecx, dword [0x10141fc8]
add esp, 4
cmp esi, ecx
jae 0x1004ebfb
imul edi, esi, 0x2c
mov eax, dword [0x10141fc0]
test byte [edi + eax + 0x14], 2
jne 0x1004ebf0
mov ecx, esi
call fcn.1004eac0
mov ebx, eax
test ebx, ebx
jne 0x1004ebf8
mov ecx, dword [0x10141fc8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x1004ebd1
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1004ec4c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1004ec3d
mov ebx, eax
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1004ec31
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x1004ec10
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10141c30]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10066100
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x10066158
mov eax, dword [0x10141b50]
cmp dword [eax], 0
je 0x10066158
mov eax, dword [0x10141f08]
cmp byte [eax + 0x34], 0
jne 0x10066158
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1006613e
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1006613e
xor eax, eax
cmp byte [esi + 9], al
pop esi
sete al
add eax, 2
ret
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10066158
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x10066158
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1008cb30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 8], ecx
mov edx, dword [eax + ecx*8 + 4]
cmp edx, esi
je 0x1008cbf1
mov ecx, dword [eax + ecx*8]
mov eax, dword [edi]
cmp eax, dword [edx + 8]
je 0x1008cb9c
nop
cmp edx, ecx
je 0x1008cbf1
mov edx, dword [edx + 4]
cmp eax, dword [edx + 8]
jne 0x1008cb90
test edx, edx
je 0x1008cbf1
mov ecx, dword [ebp + 8]
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + ecx*8]
cmp dword [edi + ecx*8 + 4], edx
jne 0x1008cbc5
cmp eax, edx
jne 0x1008cbbc
mov dword [edi + ecx*8], esi
mov dword [edi + ecx*8 + 4], esi
jmp 0x1008cbce
mov esi, dword [edx + 4]
mov dword [edi + ecx*8 + 4], esi
jmp 0x1008cbce
cmp eax, edx
jne 0x1008cbce
mov eax, dword [edx]
mov dword [edi + ecx*8], eax
mov ecx, dword [edx]
dec dword [ebx + 8]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.10009ea0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1008ce30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x1c
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp edx, edi
je 0x1008cfd2
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], esi
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [esi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [esi + eax*8]
mov esi, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
call fcn.10009ea0
dec dword [ebx + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
je 0x1008ced5
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x1008cee4
mov edx, esi
mov esi, dword [esi]
call fcn.10009ea0
dec dword [ebx + 8]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jne 0x1008ceb7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
jne 0x1008cf08
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x1008cf0b
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1008cfc9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], eax
cmp esi, edi
je 0x1008cfc9
nop word [eax + eax]
movzx eax, byte [esi + 8]
mov edx, esi
xor eax, 0x811c9dc5
mov edi, esi
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
mov esi, dword [esi]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.10009ea0
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
je 0x1008cf98
nop word [eax + eax]
mov edi, esi
cmp esi, dword [ebp + 0xc]
je 0x1008cfc1
mov edx, esi
mov esi, dword [esi]
call fcn.10009ea0
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
jne 0x1008cf80
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp esi, edi
jne 0x1008cf20
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x401040
Capabilities:
Encode data using xor

Disassembly:
push esi
push str.unsigned_char_buf_____
call fcn.00401010
add esp, 4
xor esi, esi
movzx eax, byte [esi + 0x402128]
xor eax, 0x3e
push eax
push str.x_x
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x31e
jb 0x401050
push 0x402120
call fcn.00401010
push 0x402124
call fcn.00401010
add esp, 8
xor eax, eax
pop esi
ret
Function at 0x401451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40147b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x40147f
xor eax, eax
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x10]
push 1
mov dword [ecx], eax
pop eax
pop esi
ret

Function at 0x40149a
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
xor edi, edi
push edi
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x4014db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4014ee
push 8
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
call esi
test eax, eax
je 0x4014ee
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4014f2
xor eax, eax
jmp 0x401504
cmp dword [ebp - 4], edi
je 0x401501
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10002290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push esi
mov eax, dword [eax + 4]
mov esi, dword [eax + 8]
je 0x100022d1
test esi, esi
je 0x1000231e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000231e
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x2b0]
mov eax, dword [eax + 4]
mov byte [eax + 0x4d9], 1
jmp 0x100022fd
test esi, esi
je 0x1000231e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000231e
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x2b0]
mov eax, dword [eax + 4]
mov byte [eax + 0x4d9], 0
cmp dword [0x100d059c], 0
je 0x1000231e
push 0x1330684
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x100d059c], 0
xor eax, eax
pop esi
pop ebp
ret 8