joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fe37
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0045e9a0
and byte [ebp - 0x1004], 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, 0x40a66c
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1004]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1000
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x1004]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00427687
lea eax, [ebp - 0x1004]
push eax
call fcn.00423e06
lea eax, [ebp - 0x1004]
push eax
call fcn.00426373
add esp, 0x10
test eax, eax
je 0x44fed6
cmp dword [ebp + 8], 0
je 0x44fec5
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1004]
push eax
call fcn.00453387
jmp 0x44feea
xor eax, eax
mov ecx, 0x4789e8
push eax
push eax
push eax
push 1
push 1
push ebx
call fcn.004164ab
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x452b57
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x934
and byte [ebp - 0x934], 0
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x933]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x40afdc]
and dword [ebp - 0x2c], 0
push 0x40
mov dword [ebp - 0x134], eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
pop ecx
xor eax, eax
lea edi, [ebp - 0x130]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], 7
test edi, edi
je 0x452c01
cmp byte [edi], al
je 0x452cf0
push edi
mov ecx, esi
push dword [esi + 0xb20]
call fcn.00452abc
cmp eax, 0xffffffff
je 0x452bd9
push 0
push eax
push 0x144
push dword [esi + 0xb20]
call ebx
push edi
mov ecx, esi
call fcn.00452a65
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x401
mov dword [ebp - 0x28], edi
push dword [esi + 0xb20]
call ebx
mov edi, SysReAllocStringLen
push 0x4111a8
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 8]
push eax
push 0x4111a8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x452cf0
xor edi, edi
push edi
push edi
push 0x146
push dword [esi + 0xb20]
call ebx
push 0x18
mov dword [ebp + 8], eax
pop eax
cmp dword [ebp + 8], eax
jle 0x452c49
mov dword [ebp + 8], eax
xor eax, eax
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], eax
jle 0x452ce7
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x934]
mov dword [ebp - 0x28], eax
and byte [ebp - 0x934], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], 0x800
push eax
push 0
push 0x404
push dword [esi + 0xb20]
call ebx
lea eax, [ebp - 0x131]
push 0xa
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll__itoa]
mov edx, dword [ebp - 0x28]
add esp, 0xc
test edx, edx
je 0x452cd7
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x452cd7
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push eax
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc eax
cmp eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jl 0x452c5e
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x455088
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 7
push 0x40ab7c
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x4550f7
cmp dword [0x40df30], esi
jle 0x4550f7
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0x40de94
cmp dword [edi - 4], 0
je 0x4550eb
mov al, byte [edi]
test al, al
je 0x4550d7
movzx eax, al
push eax
call ebx
shr eax, 8
test al, al
je 0x4550eb
mov al, byte [edi + 1]
test al, al
je 0x455123
movzx eax, al
push eax
call ebx
shr eax, 8
test al, al
jne 0x455123
inc esi
add edi, 0x28
cmp esi, dword [0x40df30]
jl 0x4550be
push dword [ebp + 8]
push 0x40a158
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
and byte [eax + ecx - 1], 0
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0xc
lea eax, [esi + esi*4]
shl eax, 3
lea ecx, [eax + 0x40dea6]
lea eax, [eax + 0x40de96]
push ecx
push dword [ebp + 8]
push eax
push 0x40b530
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
mov dword [ebp - 4], 1
jmp 0x45510e
Function at 0x455424
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push 0x104
mov eax, dword [esi + 4]
mov dword [esi + 0xaa8], eax
lea eax, [esi + 0x9a4]
push eax
call fcn.0044906a
lea eax, [esp + 0xc]
add esi, 0x9a0
push eax
push 0
push esi
push 0x427554
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x20
test eax, eax
pop esi
je 0x45546e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x456581
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
and byte [ebp - 0x118], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
push dword [esi + 0xb24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esi + 0xb24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x456707
mov ebx, 0x104
lea eax, [ebp - 0x118]
push ebx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x118]
push eax
call fcn.00423e06
lea eax, [ebp - 0x118]
push eax
call fcn.004262bc
pop ecx
test eax, eax
pop ecx
je 0x456707
and dword [esi + 0x8dc], 0
and dword [esi + 0x8e0], 0
lea edi, [esi + 8]
mov ecx, 0x1f4
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x118]
push eax
push 0x40a158
lea eax, [esi + 0x7d8]
push ebx
push eax
call edi
and byte [esi + 0x8db], 0
lea eax, [ebp - 0x118]
push 0xffffffffffffffff
push eax
call fcn.0041a49f
and dword [ebp - 4], 0
add esp, 0x18
test eax, eax
mov dword [ebp - 0xc], eax
je 0x4566fe
push 0
lea ecx, [ebp - 0x320]
push ebx
push ecx
push eax
call fcn.0042d10f
add esp, 0x10
test eax, eax
je 0x4566f5
lea eax, [esi + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x320]
test eax, eax
je 0x4566c1
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x10], eax
add eax, 3
and al, 0xfc
call fcn.0045e9a0
xor ecx, ecx
mov eax, esp
push ecx
push ecx
push dword [ebp - 0x10]
and byte [eax], 0
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x320]
push 0xffffffffffffffff
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x14]
push eax
push 0x40a158
push 0xc7
push dword [ebp - 8]
call edi
inc dword [ebp - 4]
add dword [ebp - 8], 0xc8
push dword [ebp - 4]
lea eax, [ebp - 0x320]
push ebx
push eax
push dword [ebp - 0xc]
call fcn.0042d10f
add esp, 0x20
test eax, eax
jne 0x456675
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 4]
mov dword [esi + 0x8dc], eax
lea esp, [ebp - 0x32c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x456fa1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
mov edx, ecx
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
push 0xd
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x5c]
mov dword [ebp - 4], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0xa
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x28], 0x27
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp eax, 0xffff0000
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
push 0
setne cl
push 0x1100
add ecx, 0xffff0001
push dword [edx + 4]
mov dword [ebp - 0x58], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
leave
ret 0x14
Function at 0x457019
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
mov edx, ecx
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
push 0xd
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x5c]
mov dword [ebp - 4], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0xa
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x28], 0x27
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp eax, 0xffff0000
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
push 0
setne cl
push 0x1132
add ecx, 0xffff0001
push dword [edx + 4]
mov dword [ebp - 0x58], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
leave
ret 0x14

Function at 0x457380
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
jne 0x4573a4
xor edi, edi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45745e
push 0x40a240
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
cmp eax, esi
pop ecx
mov dword [ebp + 8], eax
je 0x45745e
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0045b518
push dword [ebp + 8]
lea eax, [ebp - 4]
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push 1
push 4
push eax
call esi
and dword [ebp - 8], 0
add esp, 0x10
cmp dword [ebp - 4], 0
jbe 0x45744e
push 0x44
and dword [ebp + 0xc], 0
pop ecx
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
push 1
lea eax, [ebp + 0xc]
push 4
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push 1
push dword [ebp + 0xc]
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 1
push 4
push eax
call esi
add esp, 0x30
lea eax, [ebp - 0x118]
mov ecx, ebx
push eax
call fcn.00456b2c
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x4573f6
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop eax
pop ebx
jmp 0x457460
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x457466
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
jne 0x45748a
xor edi, edi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45761f
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x45749d
mov dword [ebp + 0xc], esi
jmp 0x4574ad
mov eax, dword [ebx + 8]
sub eax, ecx
mov ecx, 0x110
cdq
idiv ecx
mov dword [ebp + 0xc], eax
mov al, byte [0x460a68]
push 0x40
mov byte [ebp - 0x114], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0044906a
pop ecx
lea edi, [ebp - 0x114]
pop ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
and byte [ebp + ecx - 0x115], al
cmp dword [ebp + 0xc], esi
jbe 0x45761b
push 0x20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x457511
xor eax, eax
jmp 0x45751e
mov eax, dword [ebx + 8]
sub eax, ecx
mov ecx, 0x110
cdq
idiv ecx
imul eax, eax, 0x110
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
mov dword [ebp - 0x10], esi
je 0x45761b
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x457543
xor eax, eax
jmp 0x457550
mov eax, dword [ebx + 8]
sub eax, ecx
mov ecx, 0x110
cdq
idiv ecx
mov ecx, eax
xor eax, eax
imul ecx, ecx, 0x110
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0x40a7b8
push dword [ebp + 8]
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 8], eax
test eax, eax
pop ecx
je 0x457614
mov eax, dword [ebp + 0xc]
lea edx, [esi + 4]
test eax, eax
mov dword [esi], eax
jbe 0x4575e9
and dword [ebp + 0xc], 0
mov dword [ebp - 4], eax
mov edi, dword [ebx + 4]
or ecx, 0xffffffff
add edi, dword [ebp + 0xc]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx], ecx
mov esi, dword [ebx + 4]
add esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
add edx, 4
mov eax, ecx
mov edi, edx
add edx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0xc]
add dword [ebp + 0xc], 0x110
mov eax, dword [eax + ecx + 0x108]
mov dword [edx], eax
add edx, 4
dec dword [ebp - 4]
jne 0x457598
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
sub edx, esi
push 1
pop edi
push edi
push edx
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 4], edi
push esi
call fcn.0045e98b
pop ecx
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x457b4b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov al, byte [0x460a68]
push ebx
push esi
push edi
mov esi, ecx
push 0x40
mov byte [ebp - 0x238], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x237]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x33c]
push ebx
push eax
mov dword [ebp - 8], esi
call fcn.0044906a
mov eax, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x2c], eax
pop ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x12
push eax
push 0
push 0x110c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
lea edi, [ebp - 0x238]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x440]
and ecx, 3
push eax
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.0045710c
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x440]
push eax
push 0x40e734
lea eax, [ebp - 0x238]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push dword [ebp + 8]
push 3
push 0x110a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x457bb2
lea edi, [ebp - 0x238]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [ebp - 4]
not ecx
dec ecx
and byte [ebp + ecx - 0x239], al
cmp esi, 3
je 0x457ce1
cmp esi, 7
je 0x457ce1
cmp esi, 4
je 0x457ca5
cmp esi, 9
je 0x457ca5
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x40aafc
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
and byte [ebp - 0x31], 0
mov edx, ecx
xor eax, eax
add esp, 0x14
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x457d2b
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x411300
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [ebp + 0x10]
and byte [ebp - 0x31], 0
lea eax, [ebp - 0x134]
push dword [ebp + 0xc]
push eax
call fcn.00427832
add esp, 0x20
jmp 0x457d2b
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x4112f4
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x134]
and byte [ebp - 0x31], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x460a68
push 0x40aa68
push 0x40aa54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x457d51
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x134]
push eax
push 0x40a158
push ebx
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
and byte [edi + ebx - 1], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x457d5a
mov dword [eax], esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x457db5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x954
mov ax, word [0x4613e4]
push ebx
push esi
mov ebx, ecx
push edi
mov word [ebp - 0x440], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x43e]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x544]
push esi
push eax
mov dword [ebp - 4], ebx
call fcn.0044906a
lea eax, [ebp - 0x74c]
push esi
push eax
lea eax, [ebp - 0x544]
push eax
call fcn.00425283
mov eax, dword [ebp + 8]
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x12
push eax
push 0
push 0x110c
push dword [ebx + 4]
call edi
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [ebp - 0x954]
pop ecx
mov ecx, dword [ebp - 4]
push esi
push eax
push dword [ebp + 8]
call fcn.00457143
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x954]
push eax
push 0x411334
lea eax, [ebp - 0x440]
push esi
push eax
call ebx
mov eax, dword [ebp - 4]
add esp, 0x14
push dword [ebp + 8]
push 3
push 0x110a
push dword [eax + 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x457e3c
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
xor edi, edi
pop ecx
mov word [ebp + eax*2 - 0x442], di
mov eax, dword [ebp - 8]
cmp eax, 3
je 0x457f45
cmp eax, 7
je 0x457f45
cmp eax, 4
je 0x457f0d
cmp eax, 9
je 0x457f0d
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x74c]
push eax
push 0x40ab08
lea eax, [ebp - 0x238]
push esi
push eax
call ebx
mov ecx, dword [ebp + 0x10]
mov word [ebp - 0x32], di
mov edi, dword [ebp + 0xc]
mov edx, ecx
xor eax, eax
add esp, 0x14
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x457f8b
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x74c]
push eax
push 0x411320
lea eax, [ebp - 0x238]
push esi
push eax
call ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x238]
mov word [ebp - 0x32], di
push dword [ebp + 0xc]
push eax
call fcn.00427902
add esp, 0x20
jmp 0x457f8b
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x74c]
push eax
push 0x41130c
lea eax, [ebp - 0x238]
push esi
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x238]
mov word [ebp - 0x32], di
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x4613e4
push 0x40aa4c
push 0x40aa28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x457fae
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 0x238]
push eax
push 0x40a3e8
push edi
push esi
call ebx
add esp, 0x10
and word [esi + edi*2 - 2], 0
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
test eax, eax
je 0x457fbd
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
push 1
pop eax
leave
ret 0x18
Function at 0x45851b
Capabilities:
Enumerate browser history

Disassembly:
call fcn.00447a6a
jmp fcn.00447544

Function at 0x4585a4
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, ecx
push eax
call edi
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 6
push eax
push 0
push 0x1111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esi + 8], eax
je 0x45873f
push eax
mov ecx, esi
call fcn.0045717a
mov ebx, eax
cmp ebx, 3
je 0x458631
cmp ebx, 4
je 0x458631
cmp ebx, 7
je 0x458631
cmp ebx, 9
je 0x458631
cmp ebx, 8
je 0x458622
cmp ebx, 2
je 0x458622
cmp ebx, 6
jne 0x45873f
xor eax, eax
cmp dword [ebp + 8], eax
setne al
add eax, 0xa0
jmp 0x458640
cmp dword [ebp + 8], 0
mov eax, 0x9f
jne 0x45873f
push eax
push dword [0x536190]
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
call edi
test ebx, ebx
je 0x458676
push 3
push CreateFileA
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
cmp dword [ebp + 8], 0
jne 0x458712
mov al, byte [0x460a68]
push 0x40
mov byte [ebp - 0x14c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x14b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp ebx, 3
mov eax, 0xc41
je 0x4586af
cmp ebx, 4
je 0x4586af
cmp ebx, 2
jne 0x4586b4
mov eax, 0xc40
lea ecx, [ebp - 0x14c]
push 0x104
push ecx
push eax
push dword [0x536190]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14c]
lea edi, [ebp - 0x14c]
mov dword [ebp - 0x24], eax
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x48], 0x30
repne scasb al, byte es:[edi]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x40
push eax
push 1
not ecx
push 2
dec ecx
push dword [ebp - 4]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
push dword [ebp - 4]
mov ecx, 0x464530
call fcn.004337bf
xor eax, eax
push eax
push dword [esi + 0xc]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebx
leave
ret 4