joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464c40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b63ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx eax, byte [edx]
mov edi, ecx
xor eax, 0x811c9dc5
mov ebx, dword [ebp + 8]
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
mov esi, dword [edi + 0x18]
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edx
xor ecx, eax
mov dword [ebp - 0x18], ebx
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 4]
and esi, eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], esi
lea esi, [eax + esi*8]
mov eax, dword [esi]
cmp eax, ecx
jne 0x464cb1
mov esi, ecx
jmp 0x464cb6
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x464ccf
mov ecx, dword [edx]
nop dword [eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x464d31
cmp esi, eax
jne 0x464cc0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x14], ecx
call fcn.00435750
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [edx]
mov dword [eax + 8], ecx
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
movups xmm0, xmmword [edx + 4]
movups xmmword [eax + 0xc], xmm0
movq xmm0, qword [edx + 0x14]
movq qword [eax + 0x1c], xmm0
xor eax, eax
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 7
mov word [edx + 4], ax
mov eax, 0x71c71c6
mov ecx, dword [edi + 8]
sub eax, ecx
cmp eax, 1
jb 0x464dac
jmp 0x464d39
mov dword [ebx], esi
mov byte [ebx + 4], 0
jmp 0x464d97
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov edi, dword [edi + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x464d7c
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ebx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push esi
push edi
call fcn.004387a0
mov ecx, dword [ebp - 0x20]
call fcn.00438700
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea9ac
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.00468f1f
int3
Function at 0x46dcb0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565b3a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b63ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.00414330
mov ecx, eax
test ecx, ecx
je 0x46de74
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.00414330
mov ecx, eax
test ecx, ecx
je 0x46de7e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.00414330
mov ecx, eax
test ecx, ecx
je 0x46de88
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x46dd92
xor ecx, ecx
jmp 0x46ddb0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46dda0
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004280f0
push edi
mov ecx, ebx
call fcn.00427e30
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x46ddcc
xor ecx, ecx
jmp 0x46dde4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ddd4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.004280f0
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0046e840
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00427e30
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46de25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x46de5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x46de5e
cmp dword [esi + 0x10], 0
je 0x46de55
push dword [edi]
call fcn.005387f4
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00413530
push 0x80004005
call fcn.00413530
push 0x80004005
call fcn.00413530
int3
Function at 0x46e640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565c58
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5b63ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x46e814
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46e695
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x46e814
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46e6b3
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x46e814
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46e6d1
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x46e814
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46e6ef
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x46e814
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46e814
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x46e714
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
mov dword [edi + 0x1c], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], ecx
jb 0x46e747
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x46e75f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x46e79d
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.0042a700
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.00527460
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x5736a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0043cd70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e7cb
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x46e804
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x46e804
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.00428560
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.00414120
lea ecx, [ebp - 0x28]
call fcn.00414120
lea ecx, [ebp - 0x34]
call fcn.0046df40
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.004ea9ac
mov esp, ebp
pop ebp
ret 4
Function at 0x46ebb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565d17
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5b63ec]
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 edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x46ebfa
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ec06
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.0042a3a0
cmp dword [edi + 0x28], 0
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
jne 0x46ec73
push 0x48
call fcn.004eabc6
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x46ec67
push 0x48
push 0
push ebx
call fcn.005279e0
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.0046dcb0
jmp 0x46ec69
xor eax, eax
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], eax
mov ecx, ebx
mov dword [ebp - 0x14], 7
sete al
lea edx, [ecx + 2]
lea eax, [eax*2 + 1]
mov dword [edi + 0x1c], eax
xor eax, eax
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46eca0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0042a3a0
push 3
push 0x5736a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0043cda0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46ecef
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x46ed3e
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x46ed3e
push 0x10
xor eax, eax
mov dword [ebp - 0x40], 0
push str._______log_start
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.0042a3a0
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x50]
call fcn.00414120
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46ed74
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ed6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46edb1
push edx
push ecx
call fcn.004eaf71
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x46ed93
push esi
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ea9ac
mov esp, ebp
pop ebp
ret 0x14
call fcn.0052f67b
int3
Function at 0x4747b0
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 0x4747f5
cmp byte [ebp + 8], 0
je 0x4747e9
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 0x483140
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 0x483165
or esi, 1
push 1
call edi
test ax, ax
jns 0x483171
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x48317d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x483189
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x486150
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.004740c0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4861ab
nop
push esi
lea ecx, [ebx + 0xe0]
mov byte [ebp + 0xb], 0
call fcn.0048fe80
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 0x4862dc
lea ecx, [ebx + 0xe0]
inc esi
call fcn.004740c0
cmp esi, eax
jl 0x486170
sub edi, 0x100
je 0x486271
sub edi, 4
je 0x486212
sub edi, 2
jne 0x486266
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.00530551
mov ecx, dword [ebx + 0x58]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x488070
call dword [eax + 0x14c]
mov esi, eax
test esi, esi
je 0x486266
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 0x486266
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.00483140
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 + pe_nt_image_headers32]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x486266
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x4862c3
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test al, al
je 0x4862c3
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4862c3
mov ecx, dword [ebx + 0x5c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.00526cba
add esp, 8
test eax, eax
je 0x4862c3
mov ecx, dword [ebx + 0x5c]
call fcn.004a4fe0
test al, al
jne 0x486266
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00487760
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a2900
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 0x4a2962
sub eax, 2
je 0x4a2943
sub eax, 0x15
jne 0x4a29b2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4a29b2
push 0
push edi
push dword [ebp + 0xc]
push str.cutkey
jmp 0x4a29a7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4a29b2
push 0
push edi
push dword [ebp + 0xc]
push str.copykey
jmp 0x4a29a7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4a29b2
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.00486a30
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4a34a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.0048f2d0
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a34ee
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.004740c0
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 0x4a6a70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x4a6add
cmp dword [ebp + 8], 0x100
jne 0x4a6acd
cmp word [ebp + 0xc], 0xd
jne 0x4a6acd
cmp byte [esi + 0x59a], 0
je 0x4a6aae
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a6acd
cmp byte [esi + 0x59b], 0
jne 0x4a6acd
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4a6ac6
push 0
push 0
push 0
push str.return
push esi
call fcn.00486a30
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 0x4a7a20
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x5848a2
push 0x34
call fcn.004eb748
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x4a7a99
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 0x4a7a9b
xor esi, esi
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x4a7aa8
mov edi, dword [edi]
xor ebx, ebx
test edi, edi
je 0x4a7b1f
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a7b1f
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 0x4a7b1f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x4a7b1f
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 0x4a7b1f
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 0x4a7b1f
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.004a73a0
mov ebx, eax
test ebx, ebx
jne 0x4a7b4d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4a7b34
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 0x4a7b53
push eax
call edi
mov dword [esi + 8], 0
jmp 0x4a7b53
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4a7b65
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
test ebx, ebx
pop ebx
jne 0x4a7b84
mov ecx, esi
call fcn.004a7060
push 0x34
push esi
call fcn.004eaf71
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 0x4a9c20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5b63ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004a94f0
mov ecx, dword [edi + 0x14]
mov edx, 0x40000080
movups xmm0, xmmword [ebp - 0xa8]
push 0
sub esp, 0x10
cmp byte [ecx + 0x5a1], 0
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, 0x400000a0
cmove eax, edx
push eax
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.00467d70
push eax
mov ecx, edi
call fcn.00474280
cmp byte [ebp + 0xc], 0
je 0x4a9cbc
push dword [ebp + 0x10]
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
mov esi, dword [edi + 0x14]
mov ecx, esi
call fcn.004a8100
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.00482960
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x14]
push 0
push dword [eax + 0x59c]
push 0xc5
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
cmp byte [ecx + 0x5a1], 0
je 0x4a9d20
movzx eax, word [ecx + 0x5a2]
push 0
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00467d70
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.004282a0
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.00474780
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x14]
xor ecx, ecx
push 0
cmp byte [eax + 0x5a0], 1
sete cl
push ecx
push 0xcf
push dword [edi + 4]
call esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x7bc]
or ecx, eax
push ecx
push 0xfffffffffffffff0
mov ecx, edi
call fcn.004740c0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
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.004ea9ac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a9e10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5b63ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1c], 0
je 0x4a9e7e
cmp dword [esi + 0x14], 0
je 0x4a9e7e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004eb5d0
mov ebx, esp
test ebx, ebx
je 0x4a9e7e
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1d4
call fcn.0048fd00
mov ecx, dword [esi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x20]
mov ecx, eax
call fcn.00486a30
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea9ac
mov esp, ebp
pop ebp
ret 0x10