joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10062310
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x10062352
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x10062456
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x100623d3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x100623ce
push 4
push 0x1000
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100623a7
xor eax, eax
jmp 0x1006245b
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x10062340
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.100622e0
test eax, eax
jne 0x100623f4
xor eax, eax
jmp 0x1006245b
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1006241f
xor eax, eax
jmp 0x1006245b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
jmp 0x10062340
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100631e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x100631fd
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x10063204
mov al, 1
jmp 0x100632ea
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
call fcn.10063910
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
call dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
call fcn.10063910
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.10063920
add esp, 8
movzx eax, al
test eax, eax
je 0x1006324a
xor al, al
jmp 0x100632ea
mov dword [ebp - 0x2c], 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x24]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1006328d
cmp dword [ebp - 8], 1
je 0x10063294
cmp dword [ebp - 8], 3
je 0x100632e4
jmp 0x100632e8
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x50]
sub edx, eax
mov dword [ebp - 0xc], edx
je 0x100632c4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0xc], eax
je 0x100632c4
xor al, al
jmp 0x100632ea
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x100632d8
mov dword [ebp - 0x10], 1
jmp 0x100632df
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
jmp 0x100632ea
mov al, 1
jmp 0x100632ea
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x10064610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x1006463c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x1006472a
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x100646d3
jg 0x10064665
cmp dword [ebp + 0xc], 0
jbe 0x100646d3
cmp dword [ebp - 8], 0
jl 0x100646d3
jg 0x10064673
cmp dword [ebp - 0xc], 0
jbe 0x100646d3
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jg 0x10064691
jl 0x10064685
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jae 0x10064691
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10063890
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
cmp dword [ebp + 0x10], 0
jl 0x1006471e
jg 0x100646e1
cmp dword [ebp + 0xc], 0
jbe 0x1006471e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x1006471e
mov ecx, dword [ebp - 4]
call fcn.10063580
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10064730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x1006475c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x10064842
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x100647f3
jg 0x10064785
cmp dword [ebp + 0xc], 0
jbe 0x100647f3
cmp dword [ebp - 8], 0
jl 0x100647f3
jg 0x10064793
cmp dword [ebp - 0xc], 0
jbe 0x100647f3
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jg 0x100647b1
jl 0x100647a5
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jae 0x100647b1
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push eax
call fcn.10063890
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
cmp dword [ebp + 0x10], 0
jl 0x10064836
jg 0x10064801
cmp dword [ebp + 0xc], 0
jbe 0x10064836
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x10064836
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007d250
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x1007d26e
mov ecx, dword [ebp - 8]
call fcn.1007d7e0
jmp 0x1007d281
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x1007d281
mov ecx, dword [ebp - 8]
call fcn.1007d660
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0xb
mov edx, dword [ebp - 8]
and ecx, dword [edx + 0x1384]
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x12
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1007d660
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x1007d67b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x1007d6e7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1007d6bf
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1007d6c6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1007d672
jmp 0x1007d6f2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jge 0x1007d75e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x1007d736
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x1007d73d
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1007d6e9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x1007d79c
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x1007d7a3
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x1007d7e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x1007d7fb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x1007d867
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1007d83f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1007d846
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1007d7f2
mov esp, ebp
pop ebp
ret
Function at 0x1007f4d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [0x108bb8f8]
test eax, eax
jne 0x1007f4e6
jmp 0x1007f6b1
mov ecx, dword [0x108bb8fc]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
jne 0x1007f4ff
jmp 0x1007f6b1
mov ecx, 0x103f1778
call fcn.1007f2c0
mov dword [ebp - 0x10], eax
movss xmm0, dword [0x101a0818]
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 1
jmp 0x1007f532
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x40
jge 0x1007f5d8
mov ecx, dword [0x104283f0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [0x104283f0]
call dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1007f562
jmp 0x1007f529
mov ecx, dword [ebp - 4]
call fcn.10111350
movzx edx, al
test edx, edx
je 0x1007f591
mov ecx, dword [ebp - 4]
add ecx, 8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x24]
call eax
movzx ecx, al
test ecx, ecx
jne 0x1007f591
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jne 0x1007f593
jmp 0x1007f529
mov ecx, dword [ebp - 0x10]
call fcn.1007f720
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
call fcn.1007f720
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.1007f6c0
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x14]
jbe 0x1007f5d3
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jmp 0x1007f529
cmp dword [ebp - 0xc], 0xffffffff
jne 0x1007f5e3
jmp 0x1007f6b1
mov edx, dword [0x104283f0]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [0x104283f0]
call dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1007f60c
jmp 0x1007f6b1
mov ecx, dword [ebp - 0x1c]
call fcn.1007f720
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
call fcn.1007f720
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.100994c0
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.1007cd20
mov eax, dword [0x104283ec]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [0x104283ec]
call dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x44]
push ecx
call fcn.10099690
add esp, 4
movss xmm0, dword [0x1013b55c]
comiss xmm0, dword [ebp - 0x40]
jbe 0x1007f693
mov edx, dword [ebp + 8]
movss xmm0, dword [0x101a081c]
movss dword [edx + 0x28], xmm0
jmp 0x1007f6b1
movss xmm0, dword [ebp - 0x40]
comiss xmm0, dword [0x1013b55c]
jbe 0x1007f6b1
mov eax, dword [ebp + 8]
movss xmm0, dword [0x101a0820]
movss dword [eax + 0x28], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x10096310
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov dword [ebp - 0x14], ecx
mov ecx, 0x103f1778
call fcn.1007f290
movzx eax, al
test eax, eax
jne 0x10096330
jmp 0x10096464
mov ecx, dword [0x108bbac8]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x100963a4
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x108b6104]
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x20]
jb 0x100963a4
ja 0x10096370
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jbe 0x100963a4
movzx ecx, byte [0x108bbac6]
test ecx, ecx
jne 0x10096384
mov dword [ebp - 8], 1
jmp 0x1009638b
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [0x108bbac6], dl
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
add eax, 0x28a
mov dword [0x108b6104], eax
movzx eax, byte [0x108bbac6]
test eax, eax
je 0x100963d6
mov ecx, 0x103f1778
call fcn.1007f2c0
mov ecx, eax
call fcn.10111350
movzx ecx, al
test ecx, ecx
je 0x100963d6
mov edx, dword [0x108b487c]
mov byte [edx + 0xad], 1
jmp 0x100963e2
mov eax, dword [0x108b487c]
mov byte [eax + 0xad], 0
xor ecx, ecx
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x30]
call fcn.1007cd20
mov edx, dword [0x104283ec]
mov eax, dword [edx]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [0x104283ec]
call dword [ebp - 0xc]
push ecx
movss xmm0, dword [0x108bbad0]
movss dword [esp], xmm0
lea ecx, [ebp - 1]
call fcn.10091430
fstp dword [ebp - 0x28]
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
lea ecx, [ebp - 0x3c]
call fcn.1007cd60
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x108b487c]
add ecx, 0xb0
call fcn.1007d050
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b1630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x100b1645
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100b1760
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100b1665
xor eax, eax
jmp 0x100b175a
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100b16a5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b16a5
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x100b16b9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x100b175a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0x14]
push edx
call fcn.100b4540
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100b16e8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x100b175a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, dword [ebp - 8]
je 0x100b1721
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.100b4590
add esp, 4
xor eax, eax
jmp 0x100b175a
cmp dword [ebp + 0x14], 0
jle 0x100b173c
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x100b1757
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x100b1a40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0x101d9150
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100b1aa1
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0x10]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x100b1a5b
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret