joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418390
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.ytBaseThread.0
test eax, eax
je 0x4183ec
push 0
push eax
push str.EndThread__x_for__d_n
call fcn.00402b20
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 4], 1
test eax, eax
je 0x4183ec
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4183e5
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4183e5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0
add esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop esi
ret

Function at 0x4184c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0
push 0x418400
call fcn.0045d945
add esp, 0xc
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x418510
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov eax, dword [esi + 0xc]
push edi
push eax
push str.EndThread__x_for__d_n
call fcn.00402b20
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 4], 1
test eax, eax
je 0x41857d
test edi, edi
jne 0x41853f
or edi, 0xffffffff
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x418576
mov eax, dword [esi + 0xc]
test eax, eax
je 0x418565
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xc], 0
pop edi
mov dword [esi + 4], 0
mov eax, 0xf4242
pop esi
ret 4
mov dword [esi + 4], 0
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x4187b0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4187ca
add eax, 4
push eax
mov eax, dword [ecx]
push 0x48ca18
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
ret
xor eax, eax
push eax
mov eax, dword [ecx]
push 0x48ca18
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
ret

Function at 0x418850
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0xc]
push esi
push edi
test eax, eax
je 0x41885e
lea esi, [eax + 4]
jmp 0x418860
xor esi, esi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x41887e
mov eax, dword [ecx]
push edi
push edi
push 1
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
xor eax, eax
pop esi
ret 4
mov eax, edi
push ebx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x418884
sub eax, ebx
pop ebx
cmp eax, 0xff
jbe 0x41889d
pop edi
or eax, 0xffffffff
pop esi
ret 4
mov ecx, dword [ecx]
inc eax
push eax
push edi
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 4
Function at 0x4188c0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4188cc
add eax, 4
jmp 0x4188ce
xor eax, eax
mov edx, dword [esp + 8]
push edx
mov edx, dword [esp + 8]
push edx
mov edx, dword [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [ecx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 0xc

Function at 0x4188f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword [esi]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edi
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
push ebx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
jne 0x41893f
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push eax
push edi
push ecx
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x418943
test eax, eax
jne 0x418950
mov eax, dword [esp + 0x10]
pop ebp
mov dword [esi], eax
xor eax, eax
pop ebx
ret 0xc
mov ecx, dword [esp + 0x10]
pop ebp
mov dword [esi], ecx
pop ebx
ret 0xc

Function at 0x4190c0
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x47775b
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x4eec64]
xor eax, esp
mov dword [esp + 0x510], eax
push ebx
push esi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x520]
mov dword fs:[0], eax
mov eax, dword [esp + 0x530]
mov eax, dword [eax]
mov esi, dword [esp + 0x534]
mov ecx, dword [esp + 0x538]
xor ebx, ebx
cmp eax, ebx
je 0x41911b
add eax, 4
jmp 0x41911d
xor eax, eax
push ecx
push ebx
push 0x104
lea ecx, [esp + 0x424]
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToCacheFileA
cmp eax, ebx
je 0x419141
mov eax, 4
jmp 0x4191ef
lea edx, [esp + 0x313]
push edx
lea eax, [esp + 0x217]
push eax
lea ecx, [esp + 0x11b]
push ecx
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x428]
push eax
mov dword [esp + 0x428], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x124], bl
mov byte [esp + 0x127], bl
mov byte [esp + 0x227], bl
mov byte [esp + 0x327], bl
call fcn.0045f3f7
add esp, 0x14
push esi
lea eax, [esp + 0x10]
mov dword [esp + 0x52c], ebx
call fcn.00402be0
mov dword [esp + 0x528], 0xffffffff
mov ecx, dword [esp + 0x414]
cmp ecx, ebx
je 0x4191ed
mov eax, dword [ecx]
and eax, 0xff
cmp eax, 0x80
jae 0x4191e0
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [esp + 0x414]
and eax, 0xff
cmp eax, ebx
jne 0x4191ed
push ecx
call fcn.00402770
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x520]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x510]
xor ecx, esp
call fcn.0045c0ce
add esp, 0x520
ret
Function at 0x419ad0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x47889b
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x418]
mov dword fs:[0], eax
mov esi, ecx
push 0
push ecx
push esi
call fcn.00419700
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x419bac
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x419bac
cmp eax, 0xb7
je 0x419bac
cmp eax, 3
jne 0x419bae
call fcn.00419a80
test al, al
jne 0x419bac
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00419900
mov ecx, eax
mov dword [esp + 0x420], 0
call fcn.00419ad0
lea ecx, [esp + 0xc]
mov edi, eax
mov dword [esp + 0x420], 0xffffffff
call fcn.004032b0
test edi, edi
je 0x419b8d
mov eax, edi
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x418
ret
mov ecx, esi
call fcn.00419ad0
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x418
ret
xor eax, eax
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x418
ret
Function at 0x41b960
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1c], 0
mov esi, ecx
jne 0x41ba03
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call ebx
shr eax, 0xf
test al, 1
jne 0x41ba03
mov ecx, dword [edi + 4]
cmp ecx, 0x100
jne 0x41b9b4
mov eax, dword [edi + 8]
cmp eax, 0xc
je 0x41b9a5
lea edx, [eax - 0x20]
cmp edx, 8
ja 0x41b9b4
push eax
call fcn.0041d930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x102
jne 0x41ba03
mov al, byte [edi + 8]
cmp al, 9
jne 0x41b9e9
push 0x10
call ebx
shr eax, 0xf
and al, 1
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
push eax
push esi
call fcn.0041d740
mov eax, 0xf4240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp al, 0x12
je 0x41ba03
cmp al, 0x10
je 0x41ba03
movsx ecx, al
push ecx
call fcn.0041d930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 0xf4241
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ba20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4791d3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
call fcn.00402a50
fst dword [esi + 0xc0]
fstp qword [esp + 0x44]
xor ebx, ebx
fld1
mov dword [esp + 0x3c], vtable.ytUIEvent.0
fst dword [esp + 0x50]
mov byte [esp + 0x74], 1
fldz
mov dword [esp + 0x4c], ebx
fst dword [esp + 0x54]
mov dword [esp + 0x40], 0xf
fst dword [esp + 0x58]
mov byte [esp + 0x88], bl
fst dword [esp + 0x5c]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fxch st(1)
fst dword [esp + 0x60]
fstp dword [esp + 0x70]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fstp dword [esp + 0x84]
mov dword [esp + 0xa8], ebx
mov ecx, dword [esi + 0xa8]
cmp ecx, ebx
je 0x41bb26
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004146e0
cmp eax, 0xf4240
jne 0x41bb26
fldz
mov ebx, dword [esi]
or edi, 0xffffffff
mov ecx, edi
push ecx
fstp dword [esp]
push 1
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov edx, edi
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x4c]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, esi
mov dword [esp + 0xb4], edi
call edx
xor ebx, ebx
test dword [esi + 0xd8], 0xfffffffe
je 0x41bbd0
mov eax, dword [esi + 0xd4]
lea edi, [esi + 0xd4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [eax]
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x41bb66
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x41bb66
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x8000002
mov dword [esp + 0x38], ebx
mov byte [esp + 0xa8], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
push edi
call fcn.0041dba0
mov byte [esp + 0xa8], bl
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x41bbd0
mov eax, dword [ecx]
and eax, 0xff
cmp eax, 0x80
jae 0x41bbc3
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [esp + 0x28]
and eax, 0xff
cmp eax, ebx
jne 0x41bbd0
push ecx
call fcn.00402770
add esp, 4
mov eax, 0xa
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41bbf0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
shr ecx, 1
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x41bc73
mov eax, dword [eax]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x18], ebp
jge 0x41bc1f
cmp dword [esp + 0x1c], ebx
jl 0x41bc34
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 0xc]
jmp 0x41bc69
mov edx, dword [eax]
cmp edx, dword [eax + 8]
jge 0x41bc69
mov edi, dword [eax + 4]
cmp edi, dword [eax + 0xc]
jge 0x41bc69
cmp dword [esp + 0x18], edx
jle 0x41bc4d
mov dword [esp + 0x18], edx
cmp dword [esp + 0x1c], edi
jle 0x41bc57
mov dword [esp + 0x1c], edi
mov ecx, dword [eax + 8]
cmp ebp, ecx
jge 0x41bc60
mov ebp, ecx
mov ecx, dword [eax + 0xc]
cmp ebx, ecx
jge 0x41bc69
mov ebx, ecx
add eax, 0x10
sub dword [esp + 0x10], 1
jne 0x41bc13
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
call eax
mov edx, dword [eax + 0x58]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
mov edx, dword [eax + 0x58]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
cmp byte [esi + 0xcd], 0
je 0x41bcef
mov ebp, dword [esi]
or ecx, 0xffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
or edx, ecx
or edi, ecx
mov dword [eax + 4], edx
or ebx, ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 0x10]
mov ecx, esi
call eax
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret 4
mov eax, dword [esp + 0x2c]
xor edi, edi
test dword [eax + 4], 0xfffffffe
jbe 0x41bd65
xor ebx, ebx
mov ecx, dword [eax]
mov edx, dword [ebx + ecx]
cmp edx, dword [ebx + ecx + 8]
lea eax, [ebx + ecx]
jge 0x41bd54
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0xc]
jge 0x41bd54
mov ebp, dword [eax]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x41bd54
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
inc edi
shr ecx, 1
add ebx, 0x10
cmp edi, ecx
jb 0x41bd00
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
Function at 0x41d610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476e78
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
fld1
mov dword [esp + 0xc], vtable.ytUIEvent.0
fst dword [esp + 0x20]
mov byte [esp + 0x44], 1
fldz
mov dword [esp + 0x10], 0x10
fst dword [esp + 0x24]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fxch st(1)
fst dword [esp + 0x30]
fstp dword [esp + 0x40]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fstp dword [esp + 0x54]
fldz
fstp qword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov ecx, dword [edi + 0xac]
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], ebx
cmp ecx, ebx
je 0x41d6ce
cmp esi, ecx
je 0x41d6ce
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x10]
push edx
push ebx
call eax
mov ecx, dword [edi + 0xac]
cmp ecx, ebx
je 0x41d6ce
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0xac], ebx
cmp esi, ebx
je 0x41d725
mov ecx, dword [edi + 0xac]
cmp esi, ecx
je 0x41d6f6
cmp ecx, ebx
je 0x41d6e7
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0xac], esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [edi + 0xac]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
mov dword [esp + 8], ecx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
mov ecx, esi
call edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x64
ret
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x64
ret
Function at 0x41d740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x477168
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x88]
test dword [ebx + 0xb8], 0xfffffffe
je 0x41d90f
mov eax, dword [ebx + 0xac]
lea esi, [ebx + 0xac]
xor ebp, ebp
cmp eax, ebp
je 0x41d844
fld1
movsx eax, byte [esp + 0x8c]
fst dword [esp + 0x38]
mov dword [esp + 0x88], eax
fldz
mov dword [esp + 0x24], vtable.ytUIEvent.0
fst dword [esp + 0x3c]
mov byte [esp + 0x5c], 1
fst dword [esp + 0x40]
mov dword [esp + 0x28], 0x11
fst dword [esp + 0x44]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fxch st(1)
fst dword [esp + 0x48]
fstp dword [esp + 0x58]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fstp dword [esp + 0x6c]
fild dword [esp + 0x88]
fstp qword [esp + 0x2c]
mov dword [esp + 0x80], ebp
mov ecx, dword [esi]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0x5c]
push eax
push ecx
call edx
cmp eax, 0xf4240
jne 0x41d831
mov eax, 0xf4240
jmp 0x41d911
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x24], vtable.ytVirtual.0
lea eax, [esp + 0x18]
push eax
lea edx, [ebx + 0xb4]
push esi
lea edi, [esp + 0x90]
mov dword [esp + 0x20], ebp
call fcn.0041dcc0
mov cl, byte [esp + 0x8c]
test cl, cl
je 0x41d87a
mov eax, dword [ebx + 0xb8]
shr eax, 1
dec eax
mov dword [esp + 0x1c], eax
jmp 0x41d880
mov dword [esp + 0x1c], ebp
mov eax, ebp
cmp byte [esp + 0x88], 0
mov ebp, dword [esp + 0x18]
je 0x41d8a4
test cl, cl
je 0x41d895
dec ebp
jmp 0x41d896
inc ebp
mov edx, dword [ebx + 0xb8]
shr edx, 1
cmp ebp, edx
jb 0x41d8a4
mov ebp, eax
mov dword [esp + 0x88], 2
nop
mov edx, dword [ebx + 0xb4]
mov esi, dword [edx + ebp*4]
cmp byte [esi + 0x125], 0
jne 0x41d8e8
cmp byte [esi + 0x124], 0
jne 0x41d8e8
mov edi, ebx
call fcn.0041d610
cmp eax, 0xf4240
je 0x41d827
mov cl, byte [esp + 0x8c]
mov eax, dword [esp + 0x1c]
test cl, cl
je 0x41d8ef
dec ebp
jmp 0x41d8f0
inc ebp
mov edx, dword [ebx + 0xb8]
shr edx, 1
cmp ebp, edx
jb 0x41d905
dec dword [esp + 0x88]
mov ebp, eax
cmp dword [esp + 0x88], 0
jne 0x41d8b0
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
Function at 0x421430
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push eax
push 1
lea ecx, [esp + 8]
push 2
push ecx
mov dword [esp + 0x10], 0
call fcn.0045e149
add esp, 0x10
cmp eax, 1
je 0x421459
or eax, 0xffffffff
pop ecx
ret
mov dx, word [esp]
mov eax, dword [esp + 0xc]
rol dx, 8
mov word [eax], dx
xor eax, eax
pop ecx
ret

Function at 0x421470
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push eax
push 1
lea ecx, [esp + 8]
push 4
push ecx
mov dword [esp + 0x10], 0
call fcn.0045e149
add esp, 0x10
cmp eax, 1
je 0x421499
or eax, 0xffffffff
pop ecx
ret
mov eax, dword [esp]
rol eax, 0x10
mov edx, eax
mov ecx, eax
shr edx, 8
shl ecx, 8
xor edx, ecx
shl eax, 8
and edx, 0xff00ff
xor edx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], edx
xor eax, eax
pop ecx
ret

Function at 0x4214c0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push eax
push 1
lea ecx, [esp + 8]
push 4
push ecx
mov dword [esp + 0x10], 0
call fcn.0045e149
add esp, 0x10
cmp eax, 1
jne 0x421521
mov eax, dword [esp]
rol eax, 0x10
mov ecx, eax
shr ecx, 8
mov edx, eax
shl edx, 8
xor ecx, edx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esp], ecx
fild dword [esp]
test ecx, ecx
jge 0x421511
fadd qword [0x490228]
fmul qword [0x490220]
mov eax, dword [esp + 0xc]
fstp dword [eax]
xor eax, eax
pop ecx
ret
or eax, 0xffffffff
pop ecx
ret

Function at 0x4220b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4220c0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4220d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x422100
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x128
mov eax, dword [0x4eec64]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x42217a
xor eax, eax
cmp ecx, ebp
je 0x422162
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x422188
cmp ecx, ebp
je 0x42221b
push ecx
jmp 0x422215
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x4221ea
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00422100
mov ebx, eax
cmp ebx, ebp
jne 0x422238
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x4221b0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4221fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00421ff0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x42221b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045c0ce
add esp, 0x128
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x422247
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x42221d
Function at 0x42cf20
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
ja 0x42cf4c
or eax, 0xffffffff
add esp, 0xc
ret 8
mov eax, dword [esi + 0x244]
cmp eax, 1
je 0x42cf5c
cmp eax, 2
jne 0x42cf43
fld qword [0x490338]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x42cf78
mov eax, 0x12c
add esp, 0xc
ret 8
mov ecx, esi
call fcn.0042cdf0
fld dword [esi + 0x260]
fmul qword [0x490330]
fstp qword [esp]
fld qword [esp + 0x10]
fadd qword [0x48b4b0]
call fcn.0045ce60
fdivr qword [esp]
call fcn.0045c1c0
test eax, eax
jne 0x42cfae
mov eax, 1
add esp, 0xc
ret 8

Function at 0x42d350
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 4]
push eax
mov dword [esi], vtable.ytCallBase.0
call edi
fild qword [esp + 4]
lea ecx, [esp + 4]
push ecx
fstp qword [esi + 0x10]
call edi
fild qword [esp + 4]
mov edx, dword [esp + 0x10]
mov eax, esi
pop edi
fstp qword [esi + 0x18]
mov dword [esi + 0x20], 0
mov dword [esi + 8], edx
mov dword [esi], vtable.ytCallback_class_ytButtonNode_.0
add esp, 8
ret 4