joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4464e5
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
push 0xf01ff
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
xor edi, edi
mov dword [ebp - 8], esi
cmp esi, edi
jne 0x446519
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x4465c4
push edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x446536
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp + 0xc]
call esi
jmp 0x446512
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push esi
call edi
test eax, eax
je 0x446512
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
call esi
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0x4465a8
mov eax, dword [ebp - 0x18]
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, 0x3e8
cmp eax, ecx
jb 0x44657b
mov ecx, 0x2710
cmp eax, ecx
jbe 0x44657d
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 8]
call edi
test eax, eax
je 0x4465ae
cmp dword [ebp - 0x1c], ebx
ja 0x446555
call esi
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
ja 0x4465ae
cmp dword [ebp - 0x2c], 2
je 0x44655f
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp + 0xc]
call esi
mov eax, 0x3e8
pop ebx
pop edi
xor edx, edx
pop esi
leave
ret

Function at 0x44e80f
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 4
mov eax, 0x529aaa
call fcn.00505571
mov edi, ecx
mov ebx, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov esi, ebx
call fcn.004cd1d1
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
mov dword [ebp - 0x10], 1
je 0x44e8cc
mov esi, dword [ebx]
call fcn.004dca12
test al, al
je 0x44e8cc
mov eax, dword [ebx]
push edi
push dword [ebp + 0x10]
push dword [eax]
call fcn.00503660
mov eax, dword [ebx]
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], edi
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x44e889
mov edi, dword [ebp + 0x10]
jmp 0x44e8c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x44e8c3
mov edi, dword [ebp + 0x10]
mov esi, dword [ebx]
call fcn.004dca12
test al, al
je 0x44e8c3
mov eax, dword [ebx]
mov eax, dword [eax]
lea ecx, [ebp + 0x10]
push ecx
push eax
mov eax, dword [ebp + 8]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x44e8cc
xor edi, edi
mov esi, dword [ebx]
call fcn.004dca12
mov eax, ebx
call fcn.00505649
ret 0xc
Function at 0x452814
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x57df70]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x52b5f5
call fcn.00505571
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x1c], esi
call fcn.005035e0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
xor eax, eax
cmp byte [ebp + 0x214], bl
push str.InstallDir
setne al
push str.SoftwareAdvancedSystemRepairPro
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0x104
add eax, 0x80000001
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov word [ebp + eax*2], cx
push esi
lea ecx, [ebp]
call fcn.004fbdc2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004cf21e
add ebp, 0x20c
leave
ret
Function at 0x453de3
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x527408
call fcn.005055da
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.004fd61b
push 0x15c
call fcn.004aa755
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x453e27
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004bb344
jmp 0x453e29
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004d03eb
call fcn.00434678
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x453fc9
cmp dword [edi + 4], ebx
jle 0x453fc9
lea ecx, [ebp - 0x21c]
call fcn.004d1136
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x453fad
lea ecx, [ebp - 0x220]
call fcn.004d1136
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x453efe
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.00424709
add esp, 0xc
jmp 0x453f30
jge 0x453f1e
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.00424709
add esp, 0x10
jmp 0x453f30
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00492841
push 0x15c
call fcn.004aa755
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x453f54
mov ecx, eax
call fcn.004e4c0d
mov esi, eax
jmp 0x453f56
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.00466db3
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.004d03eb
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00473247
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00473247
inc ebx
cmp ebx, dword [edi + 4]
jl 0x453e97
call fcn.0050565d
ret
Function at 0x463d70
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor esi, esi
xor ebp, ebp
push edi
test ebx, ebx
jb 0x463de6
ja 0x463d89
cmp esi, dword [esp + 0x20]
jae 0x463dea
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, ebx
sbb eax, ebp
test eax, eax
ja 0x463da5
jb 0x463da1
cmp ecx, 0x10000
jae 0x463da5
mov edi, ecx
jmp 0x463daa
mov edi, 0x10000
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push edi
lea edx, [esi + ecx]
push edx
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x463de6
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x463de6
add esi, eax
adc ebp, 0
cmp ebp, ebx
jb 0x463d89
ja 0x463de6
cmp esi, dword [esp + 0x20]
jb 0x463d89
cmp esi, dword [esp + 0x20]
jne 0x463e07
cmp ebp, ebx
jne 0x463e07
or esi, ebp
je 0x463dff
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret

Function at 0x463e86
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x52bde1
call fcn.00505571
lea eax, [ebp - 0x10]
push eax
call fcn.004dff64
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
lea eax, [ebp - 0x14]
push str._shm
push eax
lea esi, [ebp - 0x10]
call fcn.0040bb55
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
call edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0044b109
lea eax, [ebp - 0x14]
push str._wal
push eax
call fcn.0040bb55
pop ecx
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
call edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0044b109
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0044b109
call fcn.00505649
ret
Function at 0x465c80
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x529b64
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x57df70]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
push 0xc
mov dword [esp + 0x18], esi
call fcn.004aa755
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, esi
je 0x465cd9
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
jmp 0x465cdb
xor eax, eax
mov byte [esp + 0x30], 0
mov dword [ebp], eax
mov dword [esp + 0x30], esi
mov esi, dword [ebx]
mov edi, dword [ebp]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 4]
je 0x465d26
mov eax, dword [edi]
push esi
push eax
call fcn.005039c5
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x465d23
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.005035e0
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
push 5
add edx, 0xfffffff3
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x20]
push edx
add ecx, 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.004fd99d
mov esi, dword [ebp]
test eax, eax
jne 0x465da6
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 4]
je 0x465dc2
mov eax, dword [esi]
push edi
push eax
call fcn.005039c5
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp edi, ecx
jbe 0x465d8e
mov edx, edi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.005035e0
add esp, 0xc
mov dword [esi + 4], edi
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
cmp dword [esi + 4], 0
je 0x465dc2
mov eax, dword [esi]
push 0
push eax
call fcn.005039c5
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], 0
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x46c272
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x57df70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x46c2ab
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x46c2d2
cmp dword [0x581d78], 0
jne 0x46c2d2
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x46c2c5
push 0x12
call esi
test bx, ax
je 0x46c2c9
mov eax, edi
jmp 0x46c341
push edi
call fcn.0050868f
pop ecx
jmp 0x46c341
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.005035e0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x46c2fb
call fcn.004264de
call fcn.004467a1
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf21e
leave
ret 4
Function at 0x47be48
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x51f30a
call fcn.00505571
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x47be6d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x47beb3
lea ecx, [ebp - 0x10]
call fcn.004d1136
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046facf
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00473247
mov eax, esi
call fcn.00505649
ret 8

Function at 0x47bf8a
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x524767
call fcn.00505571
xor edi, edi
cmp dword [0x57be58], edi
je 0x47c053
cmp dword [0x57c3a0], 0xfffffffe
jne 0x47c040
cmp dword [ebp + 8], 0xffffffff
je 0x47c053
test byte [0x583884], 1
mov esi, 0x583864
jne 0x47bfe9
or dword [0x583884], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004f5f30
push 0x52e0a1
call fcn.00503f8f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.0046d3e6
cmp dword [0x583860], edi
je 0x47bffd
call fcn.004264de
push edi
push edi
push 0x49c9c0
call fcn.00508d60
add esp, 0xc
mov dword [0x583860], eax
cmp eax, edi
jbe 0x47c02d
cmp eax, 0xffffffff
je 0x47c02d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x57c3a0], eax
jmp 0x47c033
mov dword [0x583860], edi
push 0x58386c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x47c053
mov eax, dword [ebp + 8]
mov dword [0x57c3a0], eax
cmp eax, 0xffffffff
jne 0x47c053
mov dword [0x583860], edi
call fcn.00505649
ret
Function at 0x488acd
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x52b625
call fcn.00505571
lea eax, [ebp - 0x10]
push eax
call fcn.004fbdc2
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
lea esi, [ebp - 0x10]
call fcn.00441989
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
push 1
push str.InstallDir
mov ebx, str.SoftwareAdvancedSystemRepairPro
push ebx
push SysReAllocString
call edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
call fcn.00441989
push eax
push 1
push str.InstallDir
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0044b109
call fcn.00505649
ret

Function at 0x48937d
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x52b780
call fcn.00505571
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push 0x23
push edi
mov dword [ebp - 0x10], esi
call fcn.004b2b87
pop ecx
pop ecx
mov dword [ebp - 4], esi
xor ebx, ebx
push 0x94
lea eax, [ebp - 0x1c]
inc ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.0041428d
mov esi, eax
mov dword [ebp - 4], ebx
push 0x90
lea eax, [ebp - 0x18]
push eax
call fcn.0041428d
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
call fcn.004bf4ff
pop ecx
pop ecx
mov byte [ebp - 4], 3
push edi
call fcn.004f9e1e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0044b109
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.0044b109
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0044b109
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x48941e
push dword [edi]
call fcn.0042665e
pop ecx
push 0x55b08c
push edi
call fcn.004d6538
mov eax, edi
call fcn.00505649
ret
Function at 0x48d09c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, 0x104
cmp eax, ecx
ja 0x48d1f6
je 0x48d21c
cmp eax, 0xa1
jb 0x48d248
cmp eax, 0xa2
jbe 0x48d21c
cmp eax, 0xa3
jbe 0x48d248
cmp eax, 0xa5
jbe 0x48d21c
cmp eax, 0xa6
jbe 0x48d248
cmp eax, 0xa8
jbe 0x48d21c
cmp eax, 0x100
jne 0x48d248
cmp dword [esi + 0x80], 0xffffffff
je 0x48d21c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x48d21c
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x48d1c2
dec eax
jne 0x48d21c
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x48d1ba
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x48d17b
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x48d153
jmp 0x48d1ba
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x1e4], 1
call dword [eax + 0x1ec]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
mov ecx, eax
call fcn.00433c63
push dword [esi + 0x80]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x248]
and dword [esi + 0x1e4], 0
xor eax, eax
inc eax
jmp 0x48d250
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x48d1ba
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x48d17b
dec edi
cmp edi, dword [esi + 0x80]
jg 0x48d1d3
jmp 0x48d1ba
cmp eax, 0x200
jb 0x48d248
cmp eax, 0x202
jbe 0x48d21c
cmp eax, 0x203
jbe 0x48d248
cmp eax, 0x205
jbe 0x48d21c
add eax, 0xfffffdf9
cmp eax, 1
ja 0x48d248
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x48d232
cmp dword [ecx + 0x20], 0
je 0x48d232
push edi
call fcn.004f0398
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x48d248
cmp dword [ecx + 0x20], 0
je 0x48d248
push edi
call fcn.004f0398
push edi
mov ecx, esi
call fcn.004c9fba
pop edi
pop esi
pop ebp
ret 4

Function at 0x48ed75
Capabilities:
Get common file path

Disassembly:
push 0x30
mov eax, 0x52adc2
call fcn.005055da
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
push 0x400
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
call fcn.0049dd55
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x48edad
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x48edc5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00471a3d
mov byte [ebp - 4], 2
push dword [ebp - 0x38]
mov esi, eax
push edi
call fcn.0042492c
pop ecx
pop ecx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], bl
lea eax, [ebp - 0x30]
push eax
call fcn.004b2aed
mov byte [ebp - 4], 0
push 0
push ebx
lea esi, [ebp - 0x2c]
call fcn.00486e6c
mov eax, edi
call fcn.0050565d
ret
Function at 0x495792
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x524c3c
call fcn.005055a4
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.004ba117
mov edi, dword [0x581bf0]
mov ebx, dword [0x581bf4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00474fec
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00416b93
mov dword [ebp - 0x1c], esi
mov esi, vtable.CBitmap.0
mov dword [ebp - 0x20], esi
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004b885d
test eax, eax
jne 0x495832
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.0049cac9
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.00405999
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00418d07
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00492193
xor eax, eax
call fcn.00505649
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048dea8
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x581b74
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.004f957d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00416b19
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0048dea8
call fcn.004b0d17
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4957f5
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4958b3
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0049cac9
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x495803
lea ecx, [ebp - 0x20]
call fcn.004f2482
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4958d5
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0049cac9
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.00405999
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00418d07
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00492193
xor eax, eax
inc eax
jmp 0x49582c
Function at 0x49b172
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x529f79
call fcn.00505571
mov dword [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
push 0x55a9bc
xor ebx, ebx
push 1
push ebx
push 0x55a9cc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x49b214
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x49b1d2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x49b1e4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x55a9dc
push eax
call dword [ecx]
test eax, eax
jl 0x49b214
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x49b214
mov ecx, dword [eax]
push 1
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.0044b109
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0044b109
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.0044b109
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0044b109
call fcn.00505649
ret
Function at 0x4a7e65
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x583a30], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x4a7e94
or dword [0x583a30], 1
mov ecx, 0x583a2c
call fcn.004d1136
push 0x52e145
call fcn.00503f8f
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4a7ea0
call fcn.004264de
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x4a7f19
cmp dword [eax + 0x20], 0
je 0x4a7f19
test eax, eax
je 0x4a7eb7
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x4a7f19
mov eax, dword [edi + 4]
dec eax
je 0x4a7ef8
dec eax
je 0x4a7ece
dec eax
jne 0x4a7f19
mov esi, 0x428e
jmp 0x4a7efd
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4a7efd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x4a7efd
add esi, 3
jmp 0x4a7efd
mov esi, 0x3ea0
push esi
mov ecx, 0x583a2c
call fcn.004889e2
test eax, eax
je 0x4a7e9b
mov eax, dword [0x583a2c]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x4a7f1b
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4a8546
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4a858d
call fcn.00434678
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a858d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4a85a9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043ed4c
mov esi, eax
test edi, edi
je 0x4a85a7
test ebx, ebx
je 0x4a85a7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4