joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409720
Capabilities:
Execute command

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [0x66aec0]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x15
movups xmm0, xmmword [esi + 0x39b4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.0044ac70
mov dword [esi + 0x39b4], 0
lea eax, [esp + 0x14]
mov dword [esi + 0x39b8], 0
mov dword [esi + 0x39bc], 0
mov dword [esi + 0x39c0], 0
mov esi, dword [0x66aec0]
push eax
mov dword [esp + 0x18], 0x16
movups xmm0, xmmword [esi + 0x39c4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.0044ac70
mov dword [esi + 0x39c4], 0x3f38d4fe
lea eax, [esp + 0x14]
mov dword [esi + 0x39c8], 0x3f1eb852
mov dword [esi + 0x39cc], 0x3f74fdf4
mov dword [esi + 0x39d0], 0x3f598b89
mov esi, dword [0x66aec0]
push eax
mov dword [esp + 0x18], 0x17
movups xmm0, xmmword [esi + 0x39d4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.0044ac70
mov dword [esi + 0x39d4], 0
lea eax, [esp + 0x14]
mov dword [esi + 0x39d8], 0
mov dword [esi + 0x39dc], 0
mov dword [esi + 0x39e0], 0
mov esi, dword [0x66aec0]
push eax
mov dword [esp + 0x18], 5
movups xmm0, xmmword [esi + 0x38b4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.0044ac70
mov dword [esi + 0x38b4], 0
lea eax, [esp + 0x14]
mov dword [esi + 0x38b8], 0
mov dword [esi + 0x38bc], 0
mov dword [esi + 0x38c0], 0
mov esi, dword [0x66aec0]
push eax
mov dword [esp + 0x18], 6
movups xmm0, xmmword [esi + 0x38c4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.0044ac70
mov dword [esi + 0x38c4], 0
lea eax, [esp + 0x14]
mov dword [esi + 0x38c8], 0
mov dword [esi + 0x38cc], 0
mov dword [esi + 0x38d0], 0
mov esi, dword [0x66aec0]
push eax
mov dword [esp + 0x18], 0
movups xmm0, xmmword [esi + 0x3864]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.0044ac70
mov dword [esi + 0x3864], 0x3f800000
mov dword [esi + 0x3868], 0
mov dword [esi + 0x386c], 0
mov dword [esi + 0x3870], 0x3f800000
mov esi, dword [0x66aec0]
push 0
push 0
push str._Discord
mov eax, dword [esi + 0x3e48]
push ecx
movss xmm0, dword [eax + 0x1c]
movss dword [esp + 0x14], xmm0
movss xmm3, dword [0x4a6460]
lea eax, [esp + 0x1c]
movss xmm2, dword [esi + 0x3bb8]
mov ecx, dword [esi + 0x3bb4]
mov dword [esp], 0xbf800000
push eax
call fcn.0045a830
mov eax, dword [esi + 0x3e48]
lea edx, [esp + 4]
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x4a6308]
movss xmm1, dword [esp + 4]
mov byte [eax + 0xac], 1
mov ecx, dword [esi + 0x3e48]
push ecx
cvttss2si eax, xmm0
mov dword [esp + 8], 0
mov byte [ecx + 0x131], 1
mov dword [esp + 0xc], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
mulss xmm1, dword [0x4a62d0]
addss xmm1, xmm0
movss dword [ecx + 0xf0], xmm1
mov ecx, str.Discord
call fcn.00461aa0
add esp, 4
test al, al
je 0x4099f5
push str.start_https:__discord.gg_Sjs7juRCem
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push str.start_https:__www.youtube.com__Forbidden453_videos
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov ecx, 4
pop esi
add esp, 0x28
jmp fcn.00434cc0
Function at 0x409df0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push ecx
call fcn.00409be0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
push str.del.bat
push 0x48070c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x409e20
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x22c
push ebx
push edi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 8], 0x22c
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x409eb5
push esi
nop
mov eax, ebx
lea ecx, [esp + 0x30]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x409e7c
test dx, dx
je 0x409e78
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x409e7c
add ecx, 4
add eax, 4
test dx, dx
jne 0x409e56
xor eax, eax
jmp 0x409e81
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409ea4
push dword [esp + 0x14]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x409e50
pop esi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
add esp, 0x22c
ret
Function at 0x412a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x412a4c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
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__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x412a74
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x412a7a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x412ae2
jg 0x412a91
test esi, esi
je 0x412ae2
test ecx, ecx
jl 0x412add
jg 0x412a9b
test eax, eax
je 0x412add
cmp edi, ecx
jg 0x412aaf
jl 0x412aa5
cmp esi, eax
jae 0x412aaf
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x412ae5
mov ecx, dword [ebp + 8]
jmp 0x412aef
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x412b09
jg 0x412aef
test esi, esi
je 0x412b09
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x412b09
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412b20
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x18]
test eax, eax
jg 0x412b45
jl 0x412b39
test esi, esi
jne 0x412b45
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 8
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x412b5f
push eax
push esi
push dword [esp + 0x1c]
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__]
pop esi
pop ebx
add esp, 8
ret 0xc
mov eax, dword [ebx + 0x1c]
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edx, dword [eax]
mov edi, esi
test edx, edx
je 0x412ba6
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x412bad
cmp eax, dword [esp + 0x20]
cmovb esi, eax
push esi
push edx
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x20]
jmp 0x412bad
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x412c19
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x412bd7
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x412c03
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x412c19
cmp edi, eax
ja 0x412be0
test edi, edi
je 0x412c19
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x24]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
add esp, 8
ret 0xc
Function at 0x412fc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x412fda
pop esi
xor eax, eax
pop ebx
add esp, 0x2c
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41300c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41300c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
add esp, 0x2c
ret 4
cmp dword [esi + 0x4c], 0
je 0x4130db
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x413034
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x413040
movsx eax, bl
jmp 0x413080
lea eax, [esp + 0x10]
mov byte [esp + 0xf], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x4130a0
sub eax, 1
je 0x4130a0
sub eax, 2
jne 0x4130db
movsx eax, byte [esp + 0xf]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x2c
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x4130c0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x4130db
lea ecx, [esp + 0xf]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x14], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
add esp, 0x2c
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x2c
ret 4

Function at 0x4134a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax + eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x4134c0
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
ret 4
Function at 0x413b60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x413c02
cmp byte [edi + 0x3d], 0
je 0x413c02
mov eax, dword [edi]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x47e5c0]
mov ecx, edi
call esi
cmp eax, 0xffffffff
je 0x413bfa
mov ecx, dword [edi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x413bc9
sub eax, 1
je 0x413bcd
sub eax, 2
jne 0x413bfa
mov byte [edi + 0x3d], al
mov al, 1
pop esi
pop edi
add esp, 0x24
ret
mov byte [edi + 0x3d], 0
mov esi, dword [esp + 8]
lea eax, [esp + 0xc]
sub esi, eax
je 0x413bed
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x413bfa
cmp byte [edi + 0x3d], 0
pop esi
sete al
pop edi
add esp, 0x24
ret
pop esi
xor al, al
pop edi
add esp, 0x24
ret
mov al, 1
pop edi
add esp, 0x24
ret
Function at 0x4140b0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x4140e1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.00413fc0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x4141ec
nop dword [eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebp]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x18], ebp
cmp edi, esi
jne 0x414172
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x4141df
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x4141ac
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
cmp edx, eax
je 0x4141a7
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x1c]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x18]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x4141db
cmp edi, edx
je 0x4141bc
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x4141f6
cmp edi, edx
jne 0x4141b0
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x14]
lea ebp, [ebx + 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x414120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x4141db
Function at 0x4142b0
Capabilities:
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
mov edx, dword [esp + 0x1c]
push ebp
mov ebp, ecx
cmp edx, eax
je 0x41443c
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov dword [esp + 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor ecx, eax
mov dword [esp + 0x20], ebx
movzx eax, byte [edx + 0xa]
mov esi, edx
imul ecx, ecx, 0x1000193
push edi
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebp + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebx + eax*8]
mov dword [esp + 0x18], ecx
lea eax, [ebx + eax*8]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00407ae0
push 0x30
push edi
call fcn.00479a51
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x20]
je 0x414381
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x414330
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x2c]
jne 0x414430
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x2c]
jne 0x414399
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [edx], eax
jmp 0x41439d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x414430
nop dword [eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebp + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [esp + 0x24]
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00407ae0
push 0x30
push edi
call fcn.00479a51
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x30]
cmp ebx, dword [esp + 0x20]
je 0x414443
cmp esi, eax
jne 0x414400
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x4143b0
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
Function at 0x417eb0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push esi
push edi
mov ecx, str.Supported_controllers:
call fcn.00463c90
lea ecx, [esp + 8]
call fcn.00402790
mov esi, dword [esp + 8]
mov ecx, esi
sub ecx, dword [0x66ae80]
mov edi, dword [esp + 0xc]
mov eax, edi
sbb eax, dword [0x66ae84]
cmp ecx, 0x540be400
jne 0x417eed
cmp eax, 2
je 0x417efc
cmp eax, 2
jl 0x417f0d
jg 0x417efc
cmp ecx, 0x540be400
jb 0x417f0d
call fcn.00407840
mov dword [0x66ae80], esi
mov dword [0x66ae84], edi
call fcn.00407d30
cmp dword [0x66af74], 0
jne 0x417f2a
push str.No_controller_connected.
call fcn.00461050
add esp, 4
jmp 0x417f9d
mov edi, dword [0x66af70]
mov esi, dword [edi]
cmp esi, edi
je 0x417f9d
nop word [eax + eax]
push dword [esi + 8]
push str.Controller__d:
call fcn.00461050
lea eax, [esi + 0xc]
add esp, 8
cmp dword [eax + 0x14], 0xf
jbe 0x417f5b
mov eax, dword [eax]
push eax
push str.Name:__s
call fcn.00461050
mov eax, dword [0x66aec0]
add esp, 8
mov ecx, dword [eax + 0x3e48]
cmp byte [ecx + 0xaf], 0
jne 0x417f97
mov ecx, dword [ecx + 0x198]
movss xmm1, dword [0x4a6310]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.00463500
mov esi, dword [esi]
cmp esi, edi
jne 0x417f40
cmp byte [0x66b230], 0
mov dword [esp + 8], 0x42be0000
mov dword [esp + 0xc], 0x41e00000
jne 0x417fec
cmp dword [0x669fec], 0xffffffff
jne 0x417fc6
mov ecx, str.Set_HotKey
jmp 0x417fd2
mov eax, dword [0x669920]
mov ecx, dword [eax*4 + 0x484150]
push ecx
lea edx, [esp + 0xc]
call fcn.00461aa0
add esp, 4
test al, al
je 0x418055
mov byte [0x66b230], 1
jmp 0x418055
push ecx
lea edx, [esp + 0xc]
mov ecx, 0x483ae4
call fcn.00461aa0
add esp, 4
mov dword [esp + 8], 0x46
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.004146a0
xor esi, esi
nop dword [eax]
push dword [esi*4 + 0x483e78]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x41803d
inc esi
cmp esi, 0xb6
jb 0x418020
jmp 0x418055
mov eax, dword [esi*4 + 0x483e78]
mov dword [0x669920], eax
mov dword [0x669fec], eax
mov byte [0x66b230], 0
call fcn.00440420
push 0x66b095
push str.Mapping_Controller
call fcn.00475a10
mov esi, dword [0x66aec0]
mov edx, dword [esi + 0x46a0]
dec dword [esi + 0x4788]
dec word [esi + 0x5a04]
mov ecx, dword [esi + 0x4788]
mov eax, dword [esi + 0x4790]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x46a0], eax
test dl, 1
je 0x4180b0
test al, 4
jne 0x4180b0
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov ecx, 0x47ee9b
call fcn.00463c90
mov ecx, dword [0x66aec0]
pop edi
pop esi
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
movss xmm0, dword [eax + 0x134]
subss xmm0, dword [ecx + 0x37f4]
movss dword [eax + 0x134], xmm0
addss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0x138]
movss dword [eax + 0xf0], xmm0
add esp, 0xc
ret
Function at 0x419400
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47b570
push eax
mov dword fs:[0], esp
sub esp, 0xb8
cmp byte [ebp + 8], 0
push esi
push edi
mov edi, edx
mov esi, ecx
je 0x419502
sub esp, 0xc
lea ecx, [ebp - 0xc4]
push 0x483bb8
call fcn.00413180
mov dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0
je 0x4194e7
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x41945d
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.00415740
add esp, 4
mov ecx, eax
push 0x414a30
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x419486
mov edi, dword [edi]
push eax
mov edx, edi
lea ecx, [ebp - 0xc4]
call fcn.00415740
add esp, 4
mov ecx, eax
push 0x414a30
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp + 8]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
push 0x414a30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xc0]
call fcn.00413c10
test eax, eax
jne 0x4194e7
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xc4]
call fcn.00409d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x483bc4
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret