joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100010a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10001164
cmp dword [ebp - 4], 0x50000000
jb 0x100010e1
cmp dword [ebp - 4], 0x80000000
ja 0x100010e1
mov dword [ebp - 4], 0x4fff0000
jmp 0x100010ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100f06a0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10001107
jmp 0x10001164
cmp dword [ebp - 0x14], 0x10000
jne 0x1000114a
cmp dword [ebp - 0x18], 0x10000
jb 0x1000114a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000113d
mov eax, dword [ebp - 8]
jmp 0x10001166
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000115f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100010ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10001170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000122c
cmp dword [ebp - 4], 0x50000000
jb 0x100011ac
cmp dword [ebp - 4], 0x80000000
ja 0x100011ac
mov dword [ebp - 4], 0x80010000
jmp 0x10001185
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100f06a0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100011d2
jmp 0x1000122c
cmp dword [ebp - 0x14], 0x10000
jne 0x10001215
cmp dword [ebp - 0x18], 0x10000
jb 0x10001215
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001208
mov eax, dword [ebp - 8]
jmp 0x1000122e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10001227
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10001185
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100019a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100019b5
xor eax, eax
jmp 0x10001a2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100019e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10001a25
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10001a23
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10001a1f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10001a23
xor eax, eax
jmp 0x10001a2a
jmp 0x100019d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10572194]
mov dword [ebp - 4], eax
jmp 0x10001c09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10001c26
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10001c00
mov esp, ebp
pop ebp
ret
Function at 0x10002070
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x105721a4], eax
je 0x1000208e
mov eax, 0x10dd
jmp 0x1000216f
mov eax, dword [0x105721b4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000210c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100020ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100020ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001710
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.100ef0a7
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002096
mov dword [0x105721b4], 0
call fcn.10001a30
mov ecx, dword [0x105721b0]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002159
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100ef0a7
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002124
mov dword [0x105721b0], 0
mov dword [0x105721a4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002660
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x105721a8], 0
je 0x10002679
mov eax, dword [0x105721a8]
jmp 0x10002719
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000268b
xor eax, eax
jmp 0x10002719
push 8
call fcn.100ee377
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100026e1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100026ca
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.100ef0a7
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x105721a8], eax
mov dword [0x105721ac], 0
mov eax, dword [ebp - 8]
jmp 0x10002719
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100026fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100026ab
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x105721b0]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x105721b0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10004fb0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x10004fcb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10004fd6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10004fe1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10004fec
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10004ff7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10005002
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000500d
bts eax, 1
test cl, 2
je 0x10005016
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
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x100050b2
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x100050a3
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10004fc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100050e0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0x1011b194
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp + 0xc], 0
call fcn.100f1e11
add esp, 0xc
test eax, eax
je 0x10005119
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100f1e58
add esp, 4
mov ebx, eax
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
test ebx, ebx
jne 0x10005145
call fcn.100f206f
add esp, 4
xor al, al
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100f2278
add esp, 0x10
test eax, eax
je 0x1000519b
push esi
nop word [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 4]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10005162
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x400
push 1
push ebx
call fcn.100f2278
add esp, 0x10
test eax, eax
jne 0x10005160
pop esi
push ebx
call fcn.100f23b3
push dword [ebp + 0xc]
call fcn.100f206f
not dword [edi]
add esp, 8
mov al, 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10129040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10113690
push 0x64
mov edi, edx
mov esi, ecx
call fcn.100ee3a7
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100067fd
push 0x64
push 0
push ebx
call fcn.100f06a0
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.100ed981
add esp, 4
mov dword [0x11514b4c], 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.10005270
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10129bc8
mov dword [0x11514ce4], eax
call fcn.100edf9c
add esp, 4
test eax, eax
jne 0x10006818
mov eax, dword [0x10129bf4]
cmp eax, 0x7fffffff
je 0x1000681f
test edi, edi
je 0x10006715
movups xmm0, xmmword [edi]
movups xmmword [0x1151d8f0], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x1000671f
xorps xmm0, xmm0
movups xmmword [0x1151d8f0], xmm0
movq qword [0x1151d900], xmm0
xorps xmm0, xmm0
push 0x10129bc8
movups xmmword [0x1151db08], xmm0
movq qword [0x1151db18], xmm0
call fcn.100edfad
add esp, 4
cmp dword [0x11514dd4], 0
jne 0x10006807
mov dword [0x11521d28], 0x10129bc0
test esi, esi
je 0x10006788
cmp byte [esi], 0
mov ecx, 0x11521d38
je 0x10006785
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10006785
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10006772
mov byte [ecx], 0
mov esi, dword [0x11514b4c]
mov al, 1
mov dword [0x11514dd4], 0x11521d28
mov dword [0x11521d30], 0x10006c30
mov dword [0x11521d34], 0x10006c40
xchg byte [esi], al
push 4
call fcn.100ee377
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10007010
push 0
push 0
call fcn.100f701a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10006831
cmp dword [esi + 0x60], 0
jne 0x1000682c
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.100ee369
mov esp, ebp
pop ebp
ret
mov dword [0x11514b4c], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ee369
mov esp, ebp
pop ebp
ret
push 5
call fcn.100ede4a
dec eax
push 6
mov dword [0x10129bf4], eax
call fcn.100ede4a
call fcn.100f70ab
push 6
mov dword [ebp - 0x4c], 0
call fcn.100ede4a
int3
Function at 0x100077e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x11514dd4]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100f0120
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10007897
mov eax, dword [edi]
test eax, eax
je 0x10007850
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10007850
test ebx, ebx
je 0x10007850
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10007850
cmp dword [ebp + 0xc], esi
je 0x10007897
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10007870
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10007864
cmp eax, 1
jne 0x10007870
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 esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10014620
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.10014850
test al, al
je 0x1001477c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
mov dword [0x958d4f], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
mov dword [0x958d88], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
mov dword [0x958dbe], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
mov dword [0x958dda], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
mov byte [0x5be217], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be237
call esi
lea eax, [ebp - 4]
mov byte [0x5be237], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be237
call esi
push 0x10014900
push 0x787070
push 0xe8
call fcn.100eb560
push 0x7870be
push 0x787078
push 0xe9
call fcn.100eb560
push 0x10014a30
push 0x786d60
push 0xe8
call fcn.100eb560
push 0x7870be
push 0x786d68
push 0xe9
call fcn.100eb560
add esp, 0x30
pop esi
cmp dword [0x1030391c], 0
jbe 0x10014840
push 0x10014d70
push 0x5b8619
push 0xe8
call fcn.100eb560
push 0x10014d70
push 0x786ca4
push 0xe8
call fcn.100eb560
mov eax, dword [0x1030391c]
add esp, 0x18
cmp eax, 2
je 0x100147c3
cmp eax, 4
jne 0x100147d2
push 0x1c0f
call fcn.10050a70
mov eax, dword [0x1030391c]
cmp eax, 3
je 0x100147dc
cmp eax, 4
jne 0x10014840
push 0x180f
call fcn.10050a70
push 0x1c0d
call fcn.10050a70
push 0x1c0e
call fcn.10050a70
push 0x1c10
call fcn.10050a70
push 0x1c16
call fcn.10050a70
push 0x1c1f
call fcn.10050a70
push 0x1c29
call fcn.10050a70
push 0x1c2a
call fcn.10050a70
push 0x1c2b
call fcn.10050a70
push 0x1c2c
call fcn.10050a70
mov esp, ebp
pop ebp
ret
Function at 0x1001a920
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102e1828]
cmp byte [0x102e17cd], 0
je 0x1001aa03
cmp dword [ebp + 0xc], 0
jne 0x1001a993
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102e1818]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1001aa03
comiss xmm1, dword [0x102e1820]
ja 0x1001aa03
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102e181c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1001aa03
comiss xmm1, dword [0x102e1824]
ja 0x1001aa03
cmp dword [ebp + 8], 0x201
jne 0x1001a9ac
mov byte [0x102e182c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov byte [0x102e182c], 0
cmp eax, 0x1f4
jb 0x1001aa03
call esi
mov dword [0x102e1828], eax
mov eax, dword [0x10138be4]
cmp eax, 8
jne 0x1001a9d5
push 0
push eax
call fcn.1001ab10
jmp 0x1001a9f2
cmp eax, 6
je 0x1001a9f2
cmp eax, 7
je 0x1001a9f2
push dword [0x10138bf4]
push eax
call fcn.1001ab10
call esi
mov dword [0x11514ce0], eax
mov byte [0x102e17cd], 0
mov dword [0xe8cb3c], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1001edd0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10129040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
pop esi
cmp eax, 1
jne 0x1001ee3c
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ee369
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100ee369
mov esp, ebp
pop ebp
ret
Function at 0x100252b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x102e080d], 1
jne 0x100252cb
mov byte [0x102e080d], 0
mov dword [0xe8cb3c], 0
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102df0c8]
cmp eax, 0x5dc
jae 0x100252e6
mov byte [0x102e080d], 0
ret
mov ecx, 0x102de7a0
call fcn.1008c840
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102e0808], eax
mov byte [0x102e080d], 1
mov dword [0xe8cb3c], 1
ret
Function at 0x10027250
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x10303764], 2
je 0x10027382
push esi
push edi
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x10027380
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x10027380
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x10027380
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x10027380
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x10027380
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x10027380
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x10027380
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x10027380
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x10027380
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102df9c8]
cmp eax, 0x3e8
jb 0x10027380
call esi
cmp byte [0x102df9cd], 1
mov dword [0x102df9c8], eax
jne 0x10027332
pop edi
mov byte [0x102df9cd], 0
mov dword [0xe8cb3c], 0
pop esi
ret
mov ecx, 0x102de7a0
call fcn.1008c840
mov eax, 0x115103e8
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x11510a28
jl 0x10027341
mov dword [0x115103e0], 0
mov dword [0x11510a38], 0
mov dword [0x11510a28], 2
mov byte [0x102df9cd], 1
mov dword [0xe8cb3c], 1
pop edi
pop esi
ret
Function at 0x1002ac40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102df128]
cmp eax, 0x5dc
jb 0x1002acc5
cmp byte [0x102df12d], 1
jne 0x1002ac7b
mov byte [0x102df12d], 0
mov dword [0xe8cb3c], 0
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [0x11510a5c]
lea ecx, [ebp - 8]
mov dword [ebp - 7], 0
mov edx, 6
mov byte [ebp - 3], 0
mov dword [ebp - 8], 0xd0f306c1
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
call fcn.100e16c0
call esi
mov dword [0x11510a60], eax
call esi
mov dword [0x102df128], eax
mov byte [0x102df12d], 1
mov dword [0xe8cb3c], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002b120
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011142d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10129040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
xor edi, edi
mov esi, 0xf
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], 0
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1002b285
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1002b27e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x1002b278
mov edx, esi
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1002b1c0
sub edx, ecx
xor ecx, ecx
test edx, edx
jle 0x1002b1f2
nop
mov al, byte [ecx + esi]
cmp al, 0x30
jl 0x1002b1db
cmp al, 0x39
jle 0x1002b1ed
cmp al, 0x41
jl 0x1002b1e3
cmp al, 0x5a
jle 0x1002b1ed
sub al, 0x61
cmp al, 0x19
ja 0x1002b278
inc ecx
cmp ecx, edx
jl 0x1002b1d0
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1002b1f7
sub edi, ecx
cmp edi, 0xf
ja 0x1002b220
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
push esi
push eax
call fcn.100f0120
mov byte [ebp + edi - 0x2c], 0
add esp, 0xc
mov edi, dword [ebp - 0x1c]
jmp 0x1002b278
cmp edi, 0x7fffffff
ja 0x1002b310
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x1002b23f
mov eax, closesocket
jmp 0x1002b249
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1002e550
push edi
push dword [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x38]
push esi
mov dword [ebp - 0x18], eax
call fcn.100f0120
add esp, 0x14
mov byte [esi + edi], 0
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov ecx, 0xa
xorps xmm0, xmm0
cmp edi, ecx
cmovb ecx, edi
cmp esi, 0xf
push ecx
cmova eax, dword [ebp - 0x2c]
mov ecx, edx
movups xmmword [edx], xmm0
push eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
call fcn.1002e5b0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1002b2ef
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b2e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b315
push ecx
push edx
call fcn.100ee3fc
add esp, 8
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ee369
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002e500
call fcn.100f77b7
int3
Function at 0x1002e190
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x11510ac4]
cmp eax, 0x3e8
jbe 0x1002e206
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11510ac4], eax
lea ecx, [ebp - 0x10]
mov ax, word [0x102e5557]
xorps xmm0, xmm0
movq qword [ebp - 0xf], xmm0
mov edx, 0xf
movq xmm0, qword [0x102e554f]
mov dword [ebp - 7], 0
mov word [ebp - 3], 0
mov word [ebp - 4], ax
mov al, byte [0x102e5559]
mov dword [ebp - 0x10], 0xb1f30fc1
movq qword [ebp - 0xc], xmm0
mov byte [ebp - 2], al
call fcn.100e16c0
mov dword [0x11510ae4], 1
mov esp, ebp
pop ebp
ret