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

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [0x5d77a0]
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.004409b0
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 [0x5d77a0]
push eax
mov dword [esp + 0x18], 0x16
movups xmm0, xmmword [esi + 0x39c4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.004409b0
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 [0x5d77a0]
push eax
mov dword [esp + 0x18], 0x17
movups xmm0, xmmword [esi + 0x39d4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.004409b0
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 [0x5d77a0]
push eax
mov dword [esp + 0x18], 5
movups xmm0, xmmword [esi + 0x38b4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.004409b0
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 [0x5d77a0]
push eax
mov dword [esp + 0x18], 6
movups xmm0, xmmword [esi + 0x38c4]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.004409b0
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 [0x5d77a0]
push eax
mov dword [esp + 0x18], 0
movups xmm0, xmmword [esi + 0x3864]
lea ecx, [esi + 0x4758]
movups xmmword [esp + 0x1c], xmm0
call fcn.004409b0
mov dword [esi + 0x3864], 0x3f800000
mov dword [esi + 0x3868], 0
mov dword [esi + 0x386c], 0
mov dword [esi + 0x3870], 0x3f800000
mov esi, dword [0x5d77a0]
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 [0x54e3e8]
lea eax, [esp + 0x1c]
movss xmm2, dword [esi + 0x3bb8]
mov ecx, dword [esi + 0x3bb4]
mov dword [esp], 0xbf800000
push eax
call fcn.00450560
mov eax, dword [esi + 0x3e48]
lea edx, [esp + 4]
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x54e298]
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 [0x54e260]
addss xmm1, xmm0
movss dword [ecx + 0xf0], xmm1
mov ecx, str.Discord
call fcn.004577d0
add esp, 4
test al, al
je 0x409505
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.0042aa00
Function at 0x409900
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push ecx
call fcn.004096f0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
push str.del.bat
push 0x475680
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 0x409930
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 0x4099c5
push esi
nop
mov eax, ebx
lea ecx, [esp + 0x30]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40998c
test dx, dx
je 0x409988
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40998c
add ecx, 4
add eax, 4
test dx, dx
jne 0x409966
xor eax, eax
jmp 0x409991
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4099b4
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 0x409960
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 0x412520
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 0x41254c
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 0x412574
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x41257a
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 0x4125e2
jg 0x412591
test esi, esi
je 0x4125e2
test ecx, ecx
jl 0x4125dd
jg 0x41259b
test eax, eax
je 0x4125dd
cmp edi, ecx
jg 0x4125af
jl 0x4125a5
cmp esi, eax
jae 0x4125af
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 0x4125e5
mov ecx, dword [ebp + 8]
jmp 0x4125ef
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x412609
jg 0x4125ef
test esi, esi
je 0x412609
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x412609
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 0x412620
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 0x412645
jl 0x412639
test esi, esi
jne 0x412645
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 8
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x41265f
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 0x4126a6
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x4126ad
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 0x4126ad
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x412719
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4126d7
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 0x412703
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 0x412719
cmp edi, eax
ja 0x4126e0
test edi, edi
je 0x412719
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 0x412ac0
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 0x412ada
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 0x412b0c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x412b0c
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 0x412bdb
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x412b34
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 0x412b40
movsx eax, bl
jmp 0x412b80
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 0x412ba0
sub eax, 1
je 0x412ba0
sub eax, 2
jne 0x412bdb
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 0x412bc0
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 0x412bdb
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 0x412f50
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 0x412f70
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
ret 4
Function at 0x4135e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x413682
cmp byte [edi + 0x3d], 0
je 0x413682
mov eax, dword [edi]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x473588]
mov ecx, edi
call esi
cmp eax, 0xffffffff
je 0x41367a
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 0x413649
sub eax, 1
je 0x41364d
sub eax, 2
jne 0x41367a
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 0x41366d
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 0x41367a
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 0x413b30
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 0x413b61
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.00413a40
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 0x413c6c
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 0x413bf2
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x413c5f
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x413c2c
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
cmp edx, eax
je 0x413c27
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 0x413c5b
cmp edi, edx
je 0x413c3c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x413c76
cmp edi, edx
jne 0x413c30
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 0x413ba0
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 0x413c5b
Function at 0x413d30
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 0x413ebc
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.00407a40
push 0x30
push edi
call fcn.0046f1d1
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x20]
je 0x413e01
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x413db0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x2c]
jne 0x413eb0
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 0x413e19
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [edx], eax
jmp 0x413e1d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x413eb0
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.00407a40
push 0x30
push edi
call fcn.0046f1d1
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x30]
cmp ebx, dword [esp + 0x20]
je 0x413ec3
cmp esi, eax
jne 0x413e80
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 0x413e30
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 0x4178d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push esi
push edi
mov ecx, str.Supported_controllers:
call fcn.004599c0
lea ecx, [esp + 8]
call fcn.004026d0
mov esi, dword [esp + 8]
mov ecx, esi
sub ecx, dword [0x5d7760]
mov edi, dword [esp + 0xc]
mov eax, edi
sbb eax, dword [0x5d7764]
cmp ecx, 0x540be400
jne 0x41790d
cmp eax, 2
je 0x41791c
cmp eax, 2
jl 0x41792d
jg 0x41791c
cmp ecx, 0x540be400
jb 0x41792d
call fcn.004077a0
mov dword [0x5d7760], esi
mov dword [0x5d7764], edi
call fcn.00407c90
cmp dword [0x5d7850], 0
jne 0x41794a
push str.No_controller_connected.
call fcn.00456d80
add esp, 4
jmp 0x4179bd
mov edi, dword [0x5d784c]
mov esi, dword [edi]
cmp esi, edi
je 0x4179bd
nop word [eax + eax]
push dword [esi + 8]
push str.Controller__d:
call fcn.00456d80
lea eax, [esi + 0xc]
add esp, 8
cmp dword [eax + 0x14], 0xf
jbe 0x41797b
mov eax, dword [eax]
push eax
push str.Name:__s
call fcn.00456d80
mov eax, dword [0x5d77a0]
add esp, 8
mov ecx, dword [eax + 0x3e48]
cmp byte [ecx + 0xaf], 0
jne 0x4179b7
mov ecx, dword [ecx + 0x198]
movss xmm1, dword [0x54e2a0]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.00459230
mov esi, dword [esi]
cmp esi, edi
jne 0x417960
cmp byte [0x5d7ae8], 0
mov dword [esp + 8], 0x42be0000
mov dword [esp + 0xc], 0x41e00000
jne 0x417a0c
cmp dword [0x5d68cc], 0xffffffff
jne 0x4179e6
mov ecx, str.Set_HotKey
jmp 0x4179f2
mov eax, dword [0x5d61fc]
mov ecx, dword [eax*4 + 0x478f10]
push ecx
lea edx, [esp + 0xc]
call fcn.004577d0
add esp, 4
test al, al
je 0x417a75
mov byte [0x5d7ae8], 1
jmp 0x417a75
push ecx
lea edx, [esp + 0xc]
mov ecx, 0x4788ac
call fcn.004577d0
add esp, 4
mov dword [esp + 8], 0x46
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.00414120
xor esi, esi
nop dword [eax]
push dword [esi*4 + 0x478c38]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x417a5d
inc esi
cmp esi, 0xb6
jb 0x417a40
jmp 0x417a75
mov eax, dword [esi*4 + 0x478c38]
mov dword [0x5d61fc], eax
mov dword [0x5d68cc], eax
mov byte [0x5d7ae8], 0
call fcn.00436150
push 0x5d794d
push str.Change_Hotkeys
call fcn.0046b740
mov esi, dword [0x5d77a0]
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 0x417ad0
test al, 4
jne 0x417ad0
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov ecx, 0x473e07
call fcn.004599c0
mov ecx, dword [0x5d77a0]
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 0x418e40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470c80
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 0x418f42
sub esp, 0xc
lea ecx, [ebp - 0xc4]
push 0x47897c
call fcn.00412c80
mov dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0
je 0x418f27
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x418e9d
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.004150f0
add esp, 4
mov ecx, eax
push 0x4144b0
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 0x418ec6
mov edi, dword [edi]
push eax
mov edx, edi
lea ecx, [ebp - 0xc4]
call fcn.004150f0
add esp, 4
mov ecx, eax
push 0x4144b0
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 0x4144b0
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.00413690
test eax, eax
jne 0x418f27
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.00409850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x478988
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