joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001a80
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x40
call fcn.1007079c
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x10001ae1
push 0x2c
push 0x4014ed2
push 6
call fcn.100707a8
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x1008b8d0]
fstp qword [ebp - 0x18]
push 0
push 0
push 0
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
mov ebx, 0x68
call fcn.10071ae0
add esp, 0x1c
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x198
call fcn.100719f0
add esp, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10001b9a
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10001b59
push ebx
call fcn.100707a2
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x10001b61
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x10002357
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x100023bb
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x100023a4
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x10002393
xor ecx, eax
xor edx, ebx
dec edi
jne 0x10002384
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x100055a9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x100055f1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1007079c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10005602
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getsockname
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10005619
mov eax, 0x10089277
push eax
push 1
mov ebx, 0x194
call fcn.10071b70
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.10001d13
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.10005782
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10005696
push 0x14e
push 0x4014f33
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x1008bef5
push 3
mov ebx, 0x914
call fcn.100726a0
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10005715
push 0xa61
push 0x4014f33
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1000574b
push 0xa8d
push 0x4014f33
push 6
call fcn.100707a8
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x10005765
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1007079c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000576a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000577b
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10007a48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x1012e07b]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10007a8b
push 0x19
push 0x4014f0d
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.10071b80
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007ac1
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x1008b8e0]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.10001b73
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10007b0f
push 0x88
push 0x4014f0d
push 6
call fcn.100707a8
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x10007b2b
push eax
mov ebx, eax
call fcn.10001545
inc eax
push eax
call fcn.1007079c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10007b30
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007b41
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1000ad8e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x1012e07b]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000add1
push 0x2b
push 0x4015015
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x1008b8e0]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.10001b73
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.10071b80
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000ae24
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000ae5a
push 0x84
push 0x4015015
push 6
call fcn.100707a8
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000ae76
push eax
mov ebx, eax
call fcn.10001545
inc eax
push eax
call fcn.1007079c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000ae7b
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000ae8c
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10013243
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.100133f3
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x10013341
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x100132e4
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x10013327
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x100132fb
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x10013316
test al, 0x40
je 0x1001330d
mov ecx, dword [edi + 0x20]
jmp 0x10013314
test al, 0x80
je 0x10013327
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x10013327
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x100132b3
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x100187f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10018838
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1007079c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10018849
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getsockname
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10018860
mov eax, 0x10089277
push eax
push 1
mov ebx, 0x194
call fcn.10071b70
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.10001d13
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.10005782
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100188d6
push 0x146
push 0x4014f32
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x1008c3d4
push 3
mov ebx, 0x914
call fcn.100726a0
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10018955
push 0xba6
push 0x4014f32
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1001898b
push 0xbd2
push 0x4014f32
push 6
call fcn.100707a8
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x100189a5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1007079c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100189aa
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100189bb
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018a8e
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, getsockname
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, cl
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
imul esi, esi, 0x666
mov dword [ebp - 4], esi
nop
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
mov eax, dword [ebp - 4]
jmp 0x10018b2b
mov esp, ebp
pop ebp
ret
Function at 0x1001a95e
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x1001abab
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x1001aaa8
cmp byte [edx + edi], 0xd
jne 0x1001aaa8
cmp byte [edx + edi + 1], 0xa
je 0x1001aae1
mov al, byte [edx + edi]
cmp al, 0xa
je 0x1001aae1
cmp al, 0x3d
jne 0x1001aabd
inc ecx
cmp ecx, 2
ja 0x1001abb9
cmp al, 0x7f
ja 0x1001abb9
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x1001abb9
cmp al, 0x40
jae 0x1001aae0
test ecx, ecx
jne 0x1001abb9
inc esi
inc edx
cmp edx, ebx
jb 0x1001aa92
test esi, esi
je 0x1001abab
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x1001abca
cmp dword [ecx], eax
jb 0x1001abca
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x1001ab9a
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x1001ab96
cmp al, 0xa
je 0x1001ab96
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x1001ab96
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x1001ab81
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x1001ab8e
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x1001ab96
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x1001ab32
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x1001b617
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.1001b75a
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x1008c56a]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x12
fld qword [ebp - 0x18]
call fcn.10001b73
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1001b688
push 0x3f
push 0x4014fd3
push 6
call fcn.100707a8
add esp, 0xc
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x1008c56a]
fstp qword [ebp - 0x18]
push 0x12
fld qword [ebp - 0x18]
call fcn.10001b73
push eax
call fcn.10006687
mov dword [ebp - 0x1c], eax
mov eax, 0x1008c572
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000344f
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b6d4
push ebx
call fcn.100707a2
add esp, 4
mov eax, dword [ebp - 0x24]
xor ecx, ecx
test eax, eax
je 0x1001b6e0
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x1001b6f1
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1001b708
dec eax
test ecx, ecx
je 0x1001b708
call fcn.1001b199
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1001b728
push ebx
call fcn.100707a2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001b738
push ebx
call fcn.100707a2
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x1001b74c
mov eax, 0
jmp 0x1001b756
mov eax, 1
jmp 0x1001b756
mov esp, ebp
pop ebp
ret
Function at 0x10044e5e
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 4], esp
je 0x10044e93
push 0x24
push 0x4010faa
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10044f59
mov dword [ebp - 4], esp
xor eax, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x10044ec9
push 0x6d
push 0x4010faa
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [0x1012daa3]
cmp dword [ebp - 0xc], eax
jne 0x10044f59
cmp dword [0x1012dd4b], 0
jne 0x10044f08
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1012dd4b], eax
mov eax, 1
jmp 0x10044f63
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x1012dd4b]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x1008c4cf]
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
jne 0x10044f59
mov dword [0x1012dd4b], 0
mov eax, 0
jmp 0x10044f63
mov esp, ebp
pop ebp
ret 4
Function at 0x10048a51
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10048a99
push 0x19
push 0x4016d80
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x25
je 0x10048b1b
cmp dword [ebp + 8], 0x26
je 0x10048b1b
cmp dword [ebp + 8], 0x27
je 0x10048b1b
cmp dword [ebp + 8], 0x28
je 0x10048b1b
cmp dword [ebp + 8], 0x21
je 0x10048b1b
cmp dword [ebp + 8], 0x22
je 0x10048b1b
cmp dword [ebp + 8], 0x23
je 0x10048b1b
cmp dword [ebp + 8], 0x24
je 0x10048b1b
cmp dword [ebp + 8], 0x2d
je 0x10048b1b
cmp dword [ebp + 8], 0x2e
je 0x10048b1b
cmp dword [ebp + 8], 0x6f
je 0x10048b1b
cmp dword [ebp + 8], 0x90
je 0x10048b1b
xor eax, eax
jmp 0x10048b20
mov eax, 1
test eax, eax
je 0x10048b53
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.10072c10
add esp, 0x1c
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.10071b80
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10048b88
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x9f8
call fcn.10072d10
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x100
push dword [ebp - 8]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10048beb
push 0x262
push 0x4016d80
push 6
call fcn.100707a8
add esp, 0xc
push 0x1008924f
push dword [ebp - 8]
call fcn.10002b9a
add esp, 8
cmp eax, 0
jne 0x10048c7c
cmp dword [ebp + 8], 1
jne 0x10048c1d
mov eax, 0x10093f5a
jmp 0x10048c9d
cmp dword [ebp + 8], 2
jne 0x10048c36
mov eax, 0x10093f63
jmp 0x10048c9d
cmp dword [ebp + 8], 4
jne 0x10048c4f
mov eax, 0x10093f6c
jmp 0x10048c9d
cmp dword [ebp + 8], 5
jne 0x10048c68
mov eax, 0x10093f75
jmp 0x10048c9d
cmp dword [ebp + 8], 6
jne 0x10048c7c
mov eax, 0x10093f7e
jmp 0x10048c9d
mov eax, dword [ebp - 8]
test eax, eax
je 0x10048c98
push eax
mov ebx, eax
call fcn.10001545
inc eax
push eax
call fcn.1007079c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10048c9d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10048cae
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10053e36
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
fild dword [0x1012dad3]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fild dword [ebp + 8]
fstp qword [ebp - 0x10]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001b73
mov dword [ebp + 8], eax
fild dword [0x1012dad7]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x10]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001b73
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp + 0x10]
cmp dword [ebx], 0x2d7
jne 0x10053eb5
cmp dword [0x1012de33], 0xffffffff
je 0x10053eb5
mov eax, dword [0x1012de33]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [0x1012de33], 0xffffffff
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x1008b8e0]
fstp qword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.10044f69
mov dword [ebp - 0x18], eax
push 1
push 0xf
push 1
push 3
push dword [ebp - 0x18]
push 0x10
push 0x10
fld qword [ebp - 0x10]
call fcn.10001b73
push eax
push dword [ebp + 8]
call fcn.10048263
mov dword [ebp - 4], esp
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 4], esp
je 0x10053f3a
push 0x24e
push 0x4011230
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1005408f
push dword [ebp + 8]
call fcn.1004f942
test eax, eax
je 0x10053fbe
push dword [ebp + 0xc]
call fcn.1004f9b0
test eax, eax
je 0x10053fbe
fild dword [ebp + 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x1008c11e]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001b73
push eax
call fcn.1004f979
test eax, eax
je 0x10053fbe
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x1008c11e]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001b73
push eax
call fcn.1004f9e7
test eax, eax
je 0x10053fbe
mov eax, 1
jmp 0x10053fc3
mov eax, 0
test eax, eax
je 0x1005408f
cmp dword [0x1012de37], 0
jne 0x10053ffd
and dword [0x1012de3b], 1
xor dword [0x1012de3b], 1
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1012de37], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x1012de37]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x1008c4cf]
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
jne 0x10054069
and dword [0x1012de3b], 1
xor dword [0x1012de3b], 1
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1012de37], eax
cmp dword [0x1012de3b], 0
je 0x1005408f
mov eax, dword [ebp + 8]
mov dword [0x1012de3f], eax
mov eax, dword [ebp + 0xc]
mov dword [0x1012de43], eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], 0x2d7
mov esp, ebp
pop ebp
ret 0xc