joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba1e0
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 8
xor ebp, ebp
call fcn.004ba1d0
mov esi, dword [eax]
inc dword [eax]
test esi, esi
je 0x4ba200
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
xor ebx, ebx
mov edi, 0x4f1390
push edi
call dword [0x4ea704]
add edi, 0x18
inc ebx
cmp ebx, 6
jl 0x4ba207
push 8
call fcn.00493ea0
pop ecx
mov dword [0x4f2a08], eax
test eax, eax
je 0x4ba26f
push 0xfffffffffffffff6
call dword [0x4ea86c]
lea ebx, [esp + 4]
push ebx
push eax
call fcn.004ba180
pop ecx
pop ecx
test eax, eax
je 0x4ba250
mov eax, dword [0x4f2a08]
or dword [eax], 0xffffffff
jmp 0x4ba25c
mov edi, dword [0x4f2a08]
mov eax, dword [esp + 4]
mov dword [edi], eax
mov ecx, dword [0x4f2a08]
mov byte [ecx + 4], 1
mov eax, dword [0x4f2a08]
mov byte [eax + 5], 0
push 8
call fcn.00493ea0
pop ecx
mov dword [0x4f2a0c], eax
test eax, eax
je 0x4ba2c2
push 0xfffffffffffffff5
call dword [0x4ea86c]
lea edx, [esp + 4]
push edx
push eax
call fcn.004ba180
pop ecx
pop ecx
test eax, eax
je 0x4ba2a3
mov eax, dword [0x4f2a0c]
or dword [eax], 0xffffffff
jmp 0x4ba2af
mov esi, dword [0x4f2a0c]
mov eax, dword [esp + 4]
mov dword [esi], eax
mov ebx, dword [0x4f2a0c]
mov byte [ebx + 4], 1
mov eax, dword [0x4f2a0c]
mov byte [eax + 5], 0
push 8
call fcn.00493ea0
pop ecx
mov dword [0x4f2a10], eax
test eax, eax
je 0x4ba315
push 0xfffffffffffffff4
call dword [0x4ea86c]
lea edi, [esp + 4]
push edi
push eax
call fcn.004ba180
pop ecx
pop ecx
test eax, eax
je 0x4ba2f6
mov eax, dword [0x4f2a10]
or dword [eax], 0xffffffff
jmp 0x4ba302
mov ecx, dword [0x4f2a10]
mov eax, dword [esp + 4]
mov dword [ecx], eax
mov edx, dword [0x4f2a10]
mov byte [edx + 4], 1
mov eax, dword [0x4f2a10]
mov byte [eax + 5], 0
mov dword [0x4f5f24], 3
call dword [0x4ea870]
mov esi, eax
mov dword [esp], esi
jmp 0x4ba343
mov edi, esi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
add esi, eax
cmp byte [esi], 0x3d
je 0x4ba330
mov ebx, esi
jmp 0x4ba363
mov edi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4ba350
sub ebx, esi
inc ebx
push ebx
call fcn.00493ea0
pop ecx
mov dword [0x4f0424], eax
test eax, eax
je 0x4ba386
push ebx
push esi
push eax
call fcn.0049ddf0
add esp, 0xc
mov dword [0x4f5e94], 0x4f0424
mov eax, dword [0x4f5e94]
mov edx, dword [eax]
jmp 0x4ba3b4
inc ebp
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
add edx, eax
cmp byte [edx], 0
jne 0x4ba3a0
inc ebp
lea ebp, [ebp*4]
push ebp
call fcn.00493ea0
pop ecx
mov dword [0x4f5f34], eax
mov eax, dword [0x4f5e94]
mov ebx, dword [eax]
xor edx, edx
jmp 0x4ba3f4
mov eax, dword [0x4f5f34]
mov dword [eax + edx*4], ebx
inc edx
mov edi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4ba3d8
mov eax, dword [0x4f5f34]
mov dword [eax + edx*4], 0
push dword [esp]
call dword [0x4ea874]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ba540
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x150
mov ebx, dword [0x4f5fe0]
mov edx, dword [0x4f5fe4]
mov eax, dword [ebx + edx*4 - 4]
mov dword [ebp - 0x158], eax
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ebx, 0xfffffffe
sub ebx, ecx
add ebx, dword [ebp - 0x158]
jmp 0x4ba581
dec ebx
cmp ebx, dword [ebp - 0x158]
jbe 0x4ba59e
movsx eax, byte [ebx - 1]
push eax
push 0x4e5fa4
call fcn.004aa270
pop ecx
pop ecx
test eax, eax
je 0x4ba580
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x158]
call dword [0x4ea818]
mov dword [ebp - 0x150], eax
cmp eax, 0xffffffff
je 0x4ba657
lea esi, [ebp - 0x120]
sub ebx, dword [ebp - 0x158]
mov dword [ebp - 0x154], ebx
mov edi, esi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
add eax, dword [ebp - 0x154]
inc eax
push eax
call fcn.00493ea0
pop ecx
mov edi, eax
push dword [ebp - 0x158]
push edi
call fcn.004aa1c0
pop ecx
pop ecx
push esi
lea eax, [ebx + edi]
push eax
call fcn.004aa1c0
pop ecx
pop ecx
call fcn.004ba4f0
test eax, eax
je 0x4ba64b
mov ecx, dword [0x4f5fe0]
mov edx, dword [0x4f5fe4]
mov dword [ecx + edx*4 - 4], edi
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x150]
call dword [0x4ea838]
test eax, eax
je 0x4ba64b
mov eax, dword [0x4f5fe4]
inc dword [0x4f5fe4]
test eax, eax
jne 0x4ba5d2
push dword [ebp - 0x150]
call dword [0x4ea820]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4ba660
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 8
mov dword [0x4f042c], 1
mov dword [0x4f5fe4], 0
push 4
call fcn.00493ea0
pop ecx
mov dword [0x4f5fe0], eax
test eax, eax
jne 0x4ba6a0
call fcn.004ba4d0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [0x4ea7a4]
mov esi, eax
mov edi, esi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
push eax
call fcn.00493ea0
pop ecx
mov dword [0x4f0428], eax
mov edi, eax
test edi, edi
jne 0x4ba6d9
call fcn.004ba4d0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
inc esi
movsx eax, byte [esi]
push eax
push str.__t_r_n_v
call fcn.004aa270
pop ecx
pop ecx
test eax, eax
jne 0x4ba6d8
jmp 0x4ba811
call fcn.004ba4f0
test eax, eax
je 0x4ba81a
mov dword [ebp - 0x10], 0
mov edx, dword [0x4f5fe4]
mov eax, dword [0x4f5fe0]
mov dword [eax + edx*4], edi
inc dword [0x4f5fe4]
xor ebx, ebx
jmp 0x4ba7fc
test ebx, ebx
jne 0x4ba770
movsx eax, al
push eax
push str.__t_r_n_v
call fcn.004aa270
pop ecx
pop ecx
test eax, eax
je 0x4ba760
inc esi
mov cl, byte [esi]
test cl, cl
je 0x4ba754
movsx eax, cl
push eax
push str.__t_r_n_v
call fcn.004aa270
pop ecx
pop ecx
test eax, eax
jne 0x4ba739
mov byte [edi], 0
inc edi
jmp 0x4ba806
cmp byte [esi], 0x22
jne 0x4ba790
inc esi
mov ebx, 1
jmp 0x4ba7fc
cmp al, 0x22
jne 0x4ba783
cmp byte [esi + 1], 0x22
jne 0x4ba783
mov byte [edi], 0x22
inc edi
add esi, 2
jmp 0x4ba7fc
cmp al, 0x22
jne 0x4ba790
inc esi
xor ebx, ebx
jmp 0x4ba7fc
mov al, byte [esi]
cmp al, 0x5c
jne 0x4ba7d2
cmp byte [esi + 1], 0x5c
jne 0x4ba7d2
mov ecx, 2
jmp 0x4ba7a4
inc ecx
mov al, byte [esi + ecx]
cmp al, 0x5c
je 0x4ba7a3
cmp al, 0x22
jne 0x4ba7cb
and ecx, 0xfffffffe
je 0x4ba7fc
mov al, byte [esi]
mov byte [edi], al
inc edi
add esi, 2
sub ecx, 2
test ecx, ecx
jne 0x4ba7b4
jmp 0x4ba7fc
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
sub ecx, 1
jae 0x4ba7c5
jmp 0x4ba7fc
cmp al, 0x5c
jne 0x4ba7e5
cmp byte [esi + 1], 0x22
jne 0x4ba7e5
mov byte [edi], 0x22
inc edi
add esi, 2
jmp 0x4ba7fc
test ebx, ebx
jne 0x4ba7f8
cmp al, 0x2a
je 0x4ba7f1
cmp al, 0x3f
jne 0x4ba7f8
mov dword [ebp - 0x10], 1
mov byte [edi], al
inc esi
inc edi
mov al, byte [esi]
test al, al
jne 0x4ba721
cmp dword [ebp - 0x10], 0
je 0x4ba811
call fcn.004ba540
cmp byte [esi], 0
jne 0x4ba6f2
mov byte [edi], 0
mov edx, dword [0x4f5fe4]
mov eax, dword [0x4f5fe0]
mov dword [eax + edx*4], 0
push 0x4ba490
call fcn.004b5e90
pop ecx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4baea0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x10
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], 0
cmp edi, 0x100
jge 0x4baece
mov edx, dword [edi*4 + 0x4f2a08]
test edx, edx
jne 0x4baee8
push 1
call fcn.004a5270
pop ecx
mov dword [eax + 4], 9
or eax, 0xffffffff
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [edx]
mov dword [esp + 8], eax
movsx eax, byte [edx + 4]
test eax, eax
je 0x4baf3b
xor esi, esi
xor eax, eax
jmp 0x4baf08
cmp byte [eax + ebp], 0xa
jne 0x4baf07
inc esi
inc eax
cmp eax, ebx
jb 0x4baf00
lea eax, [esi + ebx]
push eax
call fcn.00493ea0
pop ecx
mov dword [esp + 4], eax
mov ecx, eax
xor edx, edx
jmp 0x4baf31
cmp byte [edx + ebp], 0xa
jne 0x4baf2a
mov byte [ecx], 0xd
inc ecx
mov al, byte [edx + ebp]
mov byte [ecx], al
inc ecx
inc edx
cmp edx, ebx
jb 0x4baf20
add ebx, esi
mov ebp, dword [esp + 4]
mov eax, dword [edi*4 + 0x4f2a08]
cmp byte [eax + 5], 0
je 0x4baf55
push 2
push 0
push edi
call fcn.004bae30
add esp, 0xc
push 0
lea eax, [esp + 0x10]
push eax
push ebx
push ebp
push dword [esp + 0x18]
call dword [0x4ea718]
mov esi, eax
cmp dword [esp + 4], 0
je 0x4baf7b
push dword [esp + 4]
call fcn.00493ed0
pop ecx
test esi, esi
je 0x4baf90
mov eax, dword [esp + 0xc]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
call dword [0x4ea810]
mov dword [0x4f5fd4], eax
xor eax, eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4bb010
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 8
cmp dword [esp + 0x1c], 0x100
jge 0x4bb030
mov eax, dword [esp + 0x1c]
mov edx, dword [eax*4 + 0x4f2a08]
test edx, edx
jne 0x4bb050
push 1
call fcn.004a5270
pop ecx
mov dword [eax + 4], 9
or eax, 0xffffffff
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
movsx ebx, byte [edx + 4]
push 0
lea eax, [esp + 8]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x2c]
mov eax, dword [edx]
push eax
call dword [0x4ea734]
test eax, eax
je 0x4bb100
cmp dword [esp + 4], 0
je 0x4bb0f2
test ebx, ebx
je 0x4bb0f2
mov esi, dword [esp + 0x20]
mov ecx, esi
xor ebx, ebx
xor ebp, ebp
jmp 0x4bb0b5
mov al, byte [ecx]
cmp al, 0xd
jne 0x4bb0b0
mov edx, dword [esp + 4]
dec edx
cmp edi, edx
jae 0x4bb0b0
cmp byte [ecx + 1], 0xa
jne 0x4bb0b0
inc ecx
inc ebx
jmp 0x4bb0b4
mov byte [esi], al
inc ecx
inc esi
inc ebp
mov edi, ebp
cmp edi, dword [esp + 4]
jb 0x4bb090
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
jne 0x4bb0ee
cmp dword [esp + 4], 1
jbe 0x4bb0ee
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0xd
jne 0x4bb0ee
push 1
push 0xffffffffffffffff
push dword [esp + 0x24]
call fcn.004bae30
add esp, 0xc
inc ebx
sub dword [esp + 4], ebx
mov eax, dword [esp + 4]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
call dword [0x4ea810]
mov dword [0x4f5fd4], eax
xor eax, eax
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x1056e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1056e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1056e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1056e06a
add dl, dl
jne 0x1056e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1056e0dc
xor eax, eax
add dl, dl
jne 0x1056e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1056e17d
add dl, dl
jne 0x1056e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1056e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1056e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1056e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1056e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1056e075
mov eax, 1
add dl, dl
jne 0x1056e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1056e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1056e0e1
sub eax, ebx
mov ebx, 1
jne 0x1056e128
mov ecx, 1
add dl, dl
jne 0x1056e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1056e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1056e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1056e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1056e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1056e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1056e136
cmp eax, 0x7d00
jae 0x1056e16d
cmp eax, 0x500
jb 0x1056e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1056e075
cmp eax, 0x7f
ja 0x1056e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1056e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1056e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1056e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10004590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008f9a8
push 0x10075bdc
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10094400]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 5
mov byte [esi], 0xe9
mov dword [esi + 1], ebx
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x10004600
mov byte [esi + eax], 0x90
inc eax
jmp 0x100045f2
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000461a
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10075c0b
mov esp, ebp
pop ebp
ret

Function at 0x10005980
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10094400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov edi, edx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
push 1
call esi
push dword [ebp + 8]
push edi
mov edi, dword [ebp - 0xc]
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
push 1
call esi
push 1
call esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10075c0b
mov esp, ebp
pop ebp
ret
Function at 0x10007610
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x10094400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100076a2
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100076a2
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
push dword [ebp - 0x138]
lea eax, [ebp - 0x10c]
push eax
call edi
add esp, 8
test eax, eax
je 0x10007696
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x10007670
jmp 0x100076a2
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x134], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x134]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10075c0b
mov esp, ebp
pop ebp
ret
Function at 0x10008730
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10094400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10095844]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x10095aa0], eax
lea edi, [eax + 0x10]
cmp edi, 0x1000
jbe 0x10008783
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
lea edi, [eax + 0x3c]
cmp edi, 0x1000
jbe 0x100087b0
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
lea edi, [eax + 0x40]
cmp edi, 0x1000
jbe 0x100087dd
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
lea edi, [eax + 0x44]
cmp edi, 0x1000
jbe 0x1000880a
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
lea edi, [eax + 0x48]
cmp edi, 0x1000
jbe 0x10008837
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
lea edi, [eax + 0x4c]
cmp edi, 0x1000
jbe 0x10008864
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
lea edi, [eax + 0x50]
cmp edi, 0x1000
jbe 0x10008891
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
lea edi, [eax + 0x54]
cmp edi, 0x1000
jbe 0x100088be
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
lea edi, [eax + 0x58]
cmp edi, 0x1000
jbe 0x100088eb
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10008720
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10095aa0]
cmp dword [0x10095990], 0
jne 0x1000892a
lea edi, [eax + 0x34]
push ebx
cmp edi, 0x1000
jbe 0x10008921
mov ebx, dword [edi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], 0x10007de0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
jmp 0x10008923
xor ebx, ebx
mov dword [0x10095990], ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10075c0b
mov esp, ebp
pop ebp
ret
Function at 0x1000bc30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x10094400]
xor eax, esp
mov dword [esp + 0x28], eax
movss xmm0, dword [0x1008edec]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
or esi, 0xffffffff
movss dword [esp + 0xc], xmm0
xor ebx, ebx
mov ecx, ebx
call fcn.10008970
test eax, eax
jle 0x1000be2e
mov ecx, dword [0x10095904]
sub ecx, dword [0x10097950]
add ecx, dword [0x10097a7c]
mov eax, dword [0x10097b18]
mov cl, byte [ecx + eax]
mov al, bl
not cl
not al
xor cl, al
test cl, 1
je 0x1000be2e
mov eax, dword [0x10095bf4]
lea ecx, [esp + 0x1c]
mov edx, ebx
push dword [eax*4 + 0x1008aa38]
call fcn.10008a00
add esp, 4
test al, al
je 0x1000be2e
movq xmm0, qword [esp + 0x1c]
sub esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x34]
call fcn.10008ad0
add esp, 0xc
test al, al
je 0x1000be2e
mov eax, dword [0x1009596c]
cvttss2si ecx, dword [esp + 0x28]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
neg ecx
movsd xmm1, qword [0x1008ed40]
addsd xmm0, qword [eax*8 + 0x1008ee00]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008edf0]
cvttss2si eax, xmm0
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [0x10095970]
cvttss2si ecx, dword [esp + 0x2c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
neg ecx
movsd qword [esp + 0x10], xmm0
addsd xmm1, qword [eax*8 + 0x1008ee00]
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [0x1008edf0]
cvttss2si eax, xmm1
movsd xmm1, qword [0x1008ed40]
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
addsd xmm0, qword [esp + 0x10]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000bd91
sqrtsd xmm0, xmm0
jmp 0x1000bd96
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [esp + 0xc]
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x1000be2e
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10095b24]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm1
comiss xmm0, xmm1
jbe 0x1000be2e
mov ecx, dword [0x10095774]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x1000bdd4
jmp dword [eax*4 + 0x1000be58]
mov eax, 1
mov dword [0x10095a90], eax
jmp 0x1000be10
mov eax, 2
mov dword [0x10095a90], eax
jmp 0x1000be10
mov eax, 0x11
mov dword [0x10095a90], eax
jmp 0x1000be10
mov eax, 0x10
mov dword [0x10095a90], eax
jmp 0x1000be10
mov eax, dword [0x10095a90]
test ecx, ecx
je 0x1000be25
push eax
call edi
test ax, ax
js 0x1000be25
cmp dword [0x10095774], 0
jne 0x1000be2e
mov esi, ebx
mov byte [0x10095897], 1
inc ebx
cmp ebx, 0xf
jle 0x1000bc60
mov eax, esi
cmp esi, 0xffffffff
jne 0x1000be46
mov byte [0x10095897], 0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10075c0b
mov esp, ebp
pop ebp
ret
Function at 0x1000bddb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x10094400]
xor eax, esp
mov dword [esp + 0x28], eax
movss xmm0, dword [0x1008edec]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
or esi, 0xffffffff
movss dword [esp + 0xc], xmm0
xor ebx, ebx
mov ecx, ebx
call fcn.10008970
test eax, eax
jle 0x1000be2e
mov ecx, dword [0x10095904]
sub ecx, dword [0x10097950]
add ecx, dword [0x10097a7c]
mov eax, dword [0x10097b18]
mov cl, byte [ecx + eax]
mov al, bl
not cl
not al
xor cl, al
test cl, 1
je 0x1000be2e
mov eax, dword [0x10095bf4]
lea ecx, [esp + 0x1c]
mov edx, ebx
push dword [eax*4 + 0x1008aa38]
call fcn.10008a00
add esp, 4
test al, al
je 0x1000be2e
movq xmm0, qword [esp + 0x1c]
sub esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x34]
call fcn.10008ad0
add esp, 0xc
test al, al
je 0x1000be2e
mov eax, dword [0x1009596c]
cvttss2si ecx, dword [esp + 0x28]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
neg ecx
movsd xmm1, qword [0x1008ed40]
addsd xmm0, qword [eax*8 + 0x1008ee00]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008edf0]
cvttss2si eax, xmm0
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [0x10095970]
cvttss2si ecx, dword [esp + 0x2c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
neg ecx
movsd qword [esp + 0x10], xmm0
addsd xmm1, qword [eax*8 + 0x1008ee00]
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [0x1008edf0]
cvttss2si eax, xmm1
movsd xmm1, qword [0x1008ed40]
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
addsd xmm0, qword [esp + 0x10]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000bd91
sqrtsd xmm0, xmm0
jmp 0x1000bd96
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [esp + 0xc]
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x1000be2e
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10095b24]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm1
comiss xmm0, xmm1
jbe 0x1000be2e
mov ecx, dword [0x10095774]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x1000bdd4
jmp dword [eax*4 + 0x1000be58]
mov eax, 1
mov dword [0x10095a90], eax
jmp 0x1000be10
mov eax, 2
mov dword [0x10095a90], eax
jmp 0x1000be10
mov eax, 0x11
mov dword [0x10095a90], eax
jmp 0x1000be10
mov eax, 0x10
mov dword [0x10095a90], eax
jmp 0x1000be10
mov eax, dword [0x10095a90]
test ecx, ecx
je 0x1000be25
push eax
call edi
test ax, ax
js 0x1000be25
cmp dword [0x10095774], 0
jne 0x1000be2e
mov esi, ebx
mov byte [0x10095897], 1
inc ebx
cmp ebx, 0xf
jle 0x1000bc60
mov eax, esi
cmp esi, 0xffffffff
jne 0x1000be46
mov byte [0x10095897], 0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10075c0b
mov esp, ebp
pop ebp
ret