joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b70
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x410128
call fcn.00407b7c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x412c08
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x407914
cmp eax, esi
jne 0x407907
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x407917
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4078ee
xor esi, esi
inc esi
mov eax, dword [0x412c04]
cmp eax, esi
jne 0x40792a
push 0x1f
call sub.MSVCR90.dll__amsg_exit
pop ecx
jmp 0x407959
mov eax, dword [0x412c04]
test eax, eax
jne 0x407953
mov dword [0x412c04], esi
push 0x40d2ec
push 0x40d2e0
call sub.MSVCR90.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x407959
jmp 0x407a7d
mov dword [0x4123fc], esi
mov eax, dword [0x412c04]
cmp eax, esi
jne 0x40797d
push 0x40d2dc
push 0x40d2c8
call sub.MSVCR90.dll__initterm
pop ecx
pop ecx
mov dword [0x412c04], 2
cmp dword [ebp - 0x20], ebx
jne 0x40798a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x412c0c], ebx
je 0x4079ab
push 0x412c0c
call fcn.00407e50
pop ecx
test eax, eax
je 0x4079ab
push ebx
push 2
push ebx
call dword [0x412c0c]
mov eax, dword [sym.imp.MSVCR90.dll__wcmdln]
cmp dword [eax], ebx
je 0x407a7d
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x407a15
cmp cx, bx
je 0x4079d0
cmp dword [ebp - 0x1c], ebx
jne 0x407a15
movzx ecx, word [eax]
cmp cx, bx
je 0x4079e5
cmp cx, 0x20
ja 0x4079e5
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x4079d0
test byte [ebp - 0x40], 1
je 0x4079f1
movzx ecx, word [ebp - 0x3c]
jmp 0x4079f4
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call main
mov dword [0x4123f8], eax
cmp dword [0x4123ec], ebx
jne 0x407a5a
push eax
call dword [sym.imp.MSVCR90.dll_exit]
cmp cx, 0x22
jne 0x407a26
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x4079ba
cmp dword [0x4123fc], ebx
jne 0x407a68
call dword [sym.imp.MSVCR90.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x4123f8]
jmp 0x407a89
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00407bc1
ret
call 0x58f000
jmp 0x4078b1
Function at 0x10024670
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e7d90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.100bccd3
mov edi, eax
add esp, 4
test edi, edi
je 0x1002471d
push 1
mov dword [ebp - 4], 0
call fcn.100ba824
add esp, 4
mov dword [edi + 4], eax
jmp 0x1002471f
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.100290a0
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x101da1c8]
mov ecx, dword [0x101da1cc]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002aa40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e84cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100bccd3
mov edi, eax
add esp, 4
test edi, edi
je 0x1002aadd
push 1
mov dword [ebp - 4], 0
call fcn.100ba824
add esp, 4
mov dword [edi + 4], eax
jmp 0x1002aadf
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.10024250
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x1002ab3a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x1002ab3a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x1002ab56
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1002ab79
cmp byte [ebp + 0xc], 0
je 0x1002ab65
push esi
call fcn.100bad2d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x1002ab85
mov esi, str.ios_base::badbit_set
jmp 0x1002ab95
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.1002abc0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10024f30
push 0x101bf64c
lea eax, [ebp - 0x28]
push eax
call fcn.100be27d
int3

Function at 0x1002bec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e856d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.100bccd3
add esp, 4
test eax, eax
je 0x1002bf06
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
jmp 0x1002bf08
xor eax, eax
mov dword [ebp + 0xc], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x1002d260
push 0
push 0
call fcn.100c8350
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x1002bf45
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.100bb13f
int3
Function at 0x1004e440
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e92b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100bccd3
mov edi, eax
add esp, 4
test edi, edi
je 0x1004e4eb
push 1
mov dword [ebp - 4], 0
call fcn.100ba824
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10068eb0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0xcc
ja 0x10068ed6
lea eax, [edi + 8]
lea ebx, [edi + 4]
mov dword [ecx], eax
mov eax, edi
mov dword [ebx], esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, Ordinal_2
cmp esi, eax
cmovl eax, esi
mov esi, eax
cmp esi, 0xccccccc
ja 0x10068f0c
test esi, esi
jle 0x10068f0c
nop
lea eax, [esi + esi*4]
shl eax, 2
push 0x101aea78
push eax
call fcn.100bd1d4
add esp, 8
test eax, eax
jne 0x10068f31
shr esi, 1
jne 0x10068ef0
xor eax, eax
lea ebx, [edi + 4]
push eax
call fcn.100bd1cf
mov ecx, edi
lea eax, [edi + 8]
add esp, 4
mov esi, 0xcc
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ebx], esi
pop esi
pop ebx
pop ebp
ret 4
lea ebx, [edi + 4]
cmp esi, 0xcc
jbe 0x10068f11
mov ecx, edi
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ebx], esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x10076640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed2e5
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10076705
sub eax, 1
je 0x10076692
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
push 4
call fcn.100bccd3
add esp, 4
test eax, eax
je 0x100766a8
mov dword [eax], 0x10076360
jmp 0x100766aa
xor eax, eax
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x100762e0
push 0
push 0
call fcn.100c8350
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10076713
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x1007670c
push ecx
push eax
call fcn.100baf79
add esp, 8
test eax, eax
jne 0x1007670c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
push 0
call fcn.100c5812
push 1
call fcn.100bb13f
push 6
mov dword [ebp - 0x10], 0
call fcn.100bb13f
int3
Function at 0x1008a450
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xbc]
mov eax, dword [ecx + 0xc4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104440]
sub edi, 1
jne 0x1008a470
mov ecx, dword [0x102b31c8]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a34], eax
jne 0x1008a4a2
mov dword [ecx + 0x1a38], eax
cmp dword [ecx + 0x1a6c], eax
jne 0x1008a4b1
mov byte [ecx + 0x1a70], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101d7380]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xbc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc4]
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 + 0x10104440]
sub edi, 1
jne 0x1008a594
mov eax, dword [0x102b31c8]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a34], edx
jne 0x1008a5c5
mov dword [eax + 0x1a38], edx
cmp dword [eax + 0x1a6c], edx
jne 0x1008a5d4
mov byte [eax + 0x1a70], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100bd02b
mov esp, ebp
pop ebp
ret 4

Function at 0x1008afc0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x1008b023
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1008b006
cmp edi, 2
jb 0x1008b006
cmp byte [esi], cl
jne 0x1008b006
cmp byte [esi + 1], cl
jne 0x1008b006
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104440]
jmp 0x1008afd7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104440]
test edi, edi
jne 0x1008afd7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1008b058
nop word [eax + eax]
cmp cl, 0x23
jne 0x1008b03f
cmp byte [esi], cl
jne 0x1008b03f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10104440]
test cl, cl
jne 0x1008b030
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1008be90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x101049f5
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x1008bec2
cmp byte [esi], cl
jne 0x1008bec2
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10104440]
test cl, cl
jne 0x1008beb3
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x100965c0
mov dword [ebp - 0xc], 0x10096510
mov edi, dword [esi + 0x2db0]
mov ecx, dword [esi + 0x2db4]
mov dword [ebp - 8], 0x100965f0
cmp edi, ecx
jne 0x1008bfa9
inc edi
test ecx, ecx
je 0x1008bf1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1008bf21
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1008bfa9
mov eax, dword [0x102b31c8]
test eax, eax
je 0x1008bf39
inc dword [eax + 0x374]
push ebx
push dword [0x102b31d0]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call dword [0x101d6f90]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2db8]
test eax, eax
je 0x1008bf9c
mov ecx, dword [esi + 0x2db0]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call fcn.100be6a0
mov ecx, dword [esi + 0x2db8]
add esp, 0xc
test ecx, ecx
je 0x1008bf8c
mov eax, dword [0x102b31c8]
test eax, eax
je 0x1008bf8c
dec dword [eax + 0x374]
push dword [0x102b31d0]
push ecx
call dword [0x101d6f94]
add esp, 8
mov dword [esi + 0x2db8], ebx
mov dword [esi + 0x2db4], edi
pop ebx
mov eax, dword [esi + 0x2db0]
movups xmm0, xmmword [ebp - 0x18]
pop edi
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x2db8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi + 0x2db0]
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10091560
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x102b31c8]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x1a00]
mov esi, 4
mov ebx, dword [eax + 0xc4]
lea edi, [eax + 0xbc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [edi]
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 + 0x10104440]
sub esi, 1
jne 0x10091597
mov eax, dword [ebp - 4]
not ebx
mov esi, dword [edi]
mov ecx, dword [eax + 0xc0]
cmp esi, ecx
jne 0x100915e7
inc esi
test ecx, ecx
je 0x100915d2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100915d7
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.10096dd0
mov eax, dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [eax + 0xc4]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10095af0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x102b31c8]
cmp byte [edi + 0x2d9c], 0
lea eax, [edi + 0x20]
jne 0x10095c0f
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x10095c07
push esi
push 0x10103b64
push ecx
call fcn.1008adb0
mov esi, eax
add esp, 8
test esi, esi
je 0x10095c03
push esi
call fcn.100cd57e
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x10095bfa
push 2
push 0
push esi
call fcn.100c79bb
add esp, 0xc
test eax, eax
jne 0x10095bfa
push esi
call fcn.100cd57e
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x10095bfa
push 0
push dword [ebp - 8]
push esi
call fcn.100c79bb
add esp, 0xc
test eax, eax
jne 0x10095bfa
mov eax, dword [0x102b31c8]
test eax, eax
je 0x10095b93
inc dword [eax + 0x374]
push dword [0x102b31d0]
push ebx
call dword [0x101d6f90]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10095bfa
push esi
push dword [ebp - 4]
push 1
push ebx
call fcn.100c7522
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x10095be7
call fcn.100c6c71
add esp, 4
mov eax, dword [0x102b31c8]
test eax, eax
je 0x10095bd5
dec dword [eax + 0x374]
push dword [0x102b31d0]
push ebx
call dword [0x101d6f94]
add esp, 8
jmp 0x10095c03
call fcn.100c6c71
push dword [ebp - 4]
push ebx
call fcn.1008cb90
add esp, 0xc
jmp 0x10095bc6
push esi
call fcn.100c6c71
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x2d9c], 1
pop ebx
movss xmm0, dword [edi + 0x2da0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10095c60
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2da0], xmm0
jb 0x10095c60
mov eax, dword [eax]
test eax, eax
je 0x10095c4f
push eax
call fcn.10093780
add esp, 4
mov dword [edi + 0x2da0], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x35c], 1
mov dword [edi + 0x2da0], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1009a060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eda30
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0x4c], ebx
jle 0x1009a0d6
xor edi, edi
nop dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x1009a0c8
cmp byte [edi + eax + 8], 0
je 0x1009a0c8
push ecx
call fcn.1008d1f0
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
add esp, 4
mov dword [edi + eax], 0
jmp 0x1009a0cb
lea ecx, [esi + 0x54]
inc ebx
add edi, 0x78
cmp ebx, dword [esi + 0x4c]
jl 0x1009a0a0
jmp 0x1009a0d9
mov dword [ebp - 0x10], ecx
xor edx, edx
cmp dword [esi + 0x34], edx
jle 0x1009a11e
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 0x3c]
cmp ebx, eax
jb 0x1009a118
mov ecx, dword [esi + 0x4c]
shl ecx, 4
sub ecx, dword [esi + 0x4c]
lea eax, [eax + ecx*8]
cmp ebx, eax
jae 0x1009a115
mov dword [edi + 0x3c], 0
xor ecx, ecx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edx*4]
mov word [eax + 0x40], cx
mov ecx, dword [ebp - 0x10]
inc edx
cmp edx, dword [esi + 0x34]
jl 0x1009a0e0
mov eax, dword [esi + 0x54]
test eax, eax
je 0x1009a143
push eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
call fcn.1008d1f0
add esp, 4
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1009a170
push eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
call fcn.1008d1f0
add esp, 4
mov dword [esi + 0x48], 0
nop dword [eax + eax]
mov dword [esi + 0x58], 0xffffffff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1009a187
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1009a197
push eax
call fcn.1008d1f0
add esp, 4
xor ebx, ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
cmp dword [esi + 0x34], ebx
jle 0x1009a21a
nop dword [eax]
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1009a214
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.1009a440
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x1009a1dc
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x1009a1f0
push eax
call fcn.1008d1f0
add esp, 4
mov eax, dword [edi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x1009a204
push eax
call fcn.1008d1f0
add esp, 4
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.1008d1f0
add esp, 4
inc ebx
cmp ebx, dword [esi + 0x34]
jl 0x1009a1b0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1009a23f
push eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
call fcn.1008d1f0
add esp, 4
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b6e80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101d7380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1008a630
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push dword [0x102b31f0]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
mov dword [edi + 8], eax
lea eax, [ebp - 0x24]
push eax
movss dword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [0x102b31f8]
mov edx, dword [ebp - 0x20]
sbb edx, dword [0x102b31fc]
call fcn.100bd5d0
mov edx, dword [0x102b3204]
mov ecx, dword [0x102b3200]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.100bd5d0
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [0x102b31f8], eax
mov dword [0x102b31fc], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf9], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xfb], 0
mov byte [edi + 0xfa], al
call fcn.1008a630
cmp byte [eax + 0x353], 0
lea esi, [eax + 0xe0]
je 0x100b6fb3
cvttss2si eax, dword [eax + 0xe4]
cvttss2si ecx, dword [esi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x102b31f0]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [ebp - 0x1c], 0xff7fffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0xff7fffff
mov ecx, dword [ebp - 0x18]
mov dword [esi], eax
mov dword [esi + 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x100b7033
mov ecx, dword [0x102b31f0]
cmp eax, ecx
je 0x100b6fec
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x100b7033
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100b7033
lea eax, [ebp - 0x2c]
push eax
push dword [0x102b31f0]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100b7033
movd xmm0, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
movd xmm0, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
mov dword [esi], eax
movss dword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], ecx
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x100b7043
or eax, 0xffffffff
jmp 0x100b7048
call fcn.1008a6d0
cmp dword [0x101d71b4], eax
je 0x100b705a
mov dword [0x101d71b4], eax
call fcn.100b7320
call fcn.100b7080
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd02b
mov esp, ebp
pop ebp
ret