joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a470
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506e2b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x54c39c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
sub ebx, dword [edi + 0x3c]
mov dword [ebp - 0x14], ebx
call esi
mov dword [edi + 0x3c], eax
cmp ebx, 0x1f4
jae 0x41a5c9
lea ecx, [ebp - 0x1c]
call fcn.00412e40
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 1
or ebx, 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x41a513
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x41a513
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41a513
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
je 0x41a5a5
sub esp, 8
lea ecx, [ebp - 0xc0]
call fcn.00407850
mov edx, str.intervalTime:
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xc0]
call fcn.00405c60
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc0]
call fcn.004119f0
lea ecx, [ebp - 0x24]
call fcn.00412e40
mov byte [ebp - 4], 3
lea edx, [ebp - 0xc0]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x41a59a
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41a59a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41a59a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xc0]
call fcn.00405dd0
lea eax, [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x1c], 0
jne 0x41a5bc
mov dword [edi + 0x1c], 1
cmp dword [edi + 0x20], 0
jne 0x41a5c9
mov dword [edi + 0x20], 1
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a780
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.0049ada0
mov eax, dword [0x54c39c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x41a870
test edi, edi
je 0x41a870
push 0x4000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.004dbe40
add esp, 0xc
lea eax, [ebp - 0x4008]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x41a870
cmp eax, 0x3fff
ja 0x41a870
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41a870
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4010]
push eax
push 0x5351cc
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41a870
push 0x104
push 0
push edi
call fcn.004dbe40
mov ecx, dword [ebp - 0x4010]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push 0x103
push edi
call fcn.0041a680
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a1fc
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0049a1fc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41d610
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5072bb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x54c39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dbe40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.config.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d7ea
mov dword [ebp - 4], 0
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x41d805
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 1
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41d6f0
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.00409150
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 8], 0x104
lea edi, [esi - 0x10]
jl 0x41d80f
xor eax, eax
mov dword [edi + 4], 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
push 0x535ac4
push str.state
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [edi + 8]
push esi
call fcn.004e5a35
add esp, 8
test eax, eax
js 0x41d80f
cmp eax, dword [edi + 8]
jg 0x41d80f
xor ecx, ecx
mov dword [edi + 4], eax
mov word [esi + eax*2], cx
mov ecx, str.ADBlockMasterUpdate
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d786
test dx, dx
je 0x41d782
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d786
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d760
xor eax, eax
jmp 0x41d78b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d7c7
mov eax, str.bigupdate
mov cx, word [esi]
cmp cx, word [eax]
jne 0x41d7ba
test cx, cx
je 0x41d7b6
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x41d7ba
add esi, 4
add eax, 4
test cx, cx
jne 0x41d794
xor eax, eax
jmp 0x41d7bf
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d7c7
xor esi, esi
jmp 0x41d7cc
mov esi, 1
mov dword [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41d7e8
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a1fc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404780
push 0x80070057
call fcn.00404780
int3
Function at 0x41dd30
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.0049ada0
mov eax, dword [0x54c39c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
jne 0x41dd66
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a1fc
mov esp, ebp
pop ebp
ret 4
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.004dbe40
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004e5fa0
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0049a1fc
mov esp, ebp
pop ebp
ret 4
Function at 0x4233f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x54c39c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x552860], 0
push esi
jne 0x423517
cmp dword [ecx + 0x2c], 8
lea eax, [ecx + 0x18]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
jb 0x42343b
mov eax, dword [eax]
push edi
push 0x20219
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x818]
call fcn.00423620
mov edi, dword [ebp - 0x818]
test eax, eax
jne 0x42350b
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0x800
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push 0x512d68
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42350b
mov eax, dword [ebp - 0x80c]
cmp eax, 1
je 0x42349f
cmp eax, 2
jne 0x42350b
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x4234bc
test al, 1
jne 0x42350b
shr eax, 1
cmp word [ebp + eax*2 - 0x806], 0
je 0x4234c5
jmp 0x42350b
xor eax, eax
mov word [ebp - 0x804], ax
mov ecx, 0x552860
lea esi, [ebp - 0x804]
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x4234fe
movzx eax, word [esi + ecx]
test ax, ax
je 0x4234fe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4234e0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x423516
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x552860
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x42356b
mov ecx, 0x552860
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x42355e
movzx eax, word [esi + ecx]
test ax, ax
je 0x42355e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x423540
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 0x552860
xor ecx, ebp
pop esi
call fcn.0049a1fc
mov esp, ebp
pop ebp
ret
Function at 0x424ba0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5079e3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x54c39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x424c45
cmp word [esi], di
je 0x424c45
test eax, eax
je 0x424c01
cmp word [eax], di
je 0x424c01
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x424c45
jmp 0x424c40
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dbe40
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x424c45
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x424cab
lea esi, [ebx + 0x38]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x424c6b
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x424ccb
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 2
test esi, esi
je 0x424c93
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x424cab
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a1fc
mov esp, ebp
pop ebp
ret 0x30
call fcn.0041ed88
int3

Function at 0x426cf0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x426d15
or esi, 1
push 1
call edi
test ax, ax
jns 0x426d21
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x426d2d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x426d39
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x429cf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0xe0]
call fcn.0042bd40
mov edi, dword [ebp + 8]
test eax, eax
jle 0x429d4b
nop
push esi
lea ecx, [ebx + 0xe0]
mov byte [ebp + 0xb], 0
call fcn.0042cd00
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x429e7c
lea ecx, [ebx + 0xe0]
inc esi
call fcn.0042bd40
cmp esi, eax
jl 0x429d10
sub edi, 0x100
je 0x429e11
sub edi, 4
je 0x429db2
sub edi, 2
jne 0x429e06
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.004eb008
mov ecx, dword [ebx + 0x58]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push VariantTimeToDosDateTime
push edx
push 0x42bb60
call dword [eax + 0x14c]
mov esi, eax
test esi, esi
je 0x429e06
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x13c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x5c], 0
je 0x429e06
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x74]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.00426cf0
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x429e06
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x429e63
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test al, al
je 0x429e63
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x429e63
mov ecx, dword [ebx + 0x5c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004dd5f1
add esp, 8
test eax, eax
je 0x429e63
mov ecx, dword [ebx + 0x5c]
call fcn.004409e0
test al, al
jne 0x429e06
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0042b300
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c430
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [esi + 4]
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x20], xmm0
xor ebx, ebx
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c4f9
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x42c4f9
cmp dword [ebp - 0x1c], 0x10
jne 0x42c4c0
cmp dword [ebp - 0x20], esi
jne 0x42c4c0
mov eax, dword [ebp - 0x18]
push 1
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, 1
lea eax, [ebp - 0x20]
push eax
call fcn.0042b8f0
add esp, 4
test al, al
jne 0x42c4e4
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x42c4f9
test ebx, ebx
jne 0x42c4f9
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42c486
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x42c51b
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x42c530
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c575
cmp byte [ebp + 8], 0
je 0x42c569
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x43e300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
movzx eax, word [edi + 0xc]
sub eax, 0x41
je 0x43e362
sub eax, 2
je 0x43e343
sub eax, 0x15
jne 0x43e3b2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x43e3b2
push 0
push edi
push dword [ebp + 0xc]
push str.cutkey
jmp 0x43e3a7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x43e3b2
push 0
push edi
push dword [ebp + 0xc]
push str.copykey
jmp 0x43e3a7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x43e3b2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 2
push eax
mov eax, dword [esi + 0x14]
push 0xffffffffffffffff
push 0x102b
mov dword [ebp - 0x30], 2
push dword [eax + 0x558]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
push dword [ebp + 0xc]
push str.selectallkey
push dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
call fcn.0042a5d0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43eea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.00432a60
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43eeee
mov ecx, dword [ebx + 0x55c]
mov eax, 5
push edi
xor edi, edi
cmp byte [ebp + 8], 0
cmovne edi, eax
push edi
call fcn.0042bd40
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret 4

Function at 0x442470
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x4424dd
cmp dword [ebp + 8], 0x100
jne 0x4424cd
cmp word [ebp + 0xc], 0xd
jne 0x4424cd
cmp byte [esi + 0x59a], 0
je 0x4424ae
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4424cd
cmp byte [esi + 0x59b], 0
jne 0x4424cd
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4424c6
push 0
push 0
push 0
push str.return
push esi
call fcn.0042a5d0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x443420
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x522a3c
push 0x34
call fcn.0049adcd
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x443499
mov dword [esi], 2
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
jmp 0x44349b
xor esi, esi
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x4434a8
mov edi, dword [edi]
xor ebx, ebx
test edi, edi
je 0x44351f
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44351f
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x44351f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x44351f
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x44351f
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x44351f
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.00442da0
mov ebx, eax
test ebx, ebx
jne 0x44354d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x443534
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x443553
push eax
call edi
mov dword [esi + 8], 0
jmp 0x443553
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x443565
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
test ebx, ebx
pop ebx
jne 0x443584
mov ecx, esi
call fcn.00442a60
push 0x34
push esi
call fcn.0049a747
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x448950
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x522a3c
cmp al, 6
jb 0x44898d
push 0x18
call fcn.0049adcd
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4489c9
mov ecx, eax
call fcn.004489e0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.0049adcd
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4489c9
mov dword [eax], vtable.CGDIPlusImageImpl.0
mov dword [eax + 4], 6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret