joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007eb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101887cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
push eax
push str.ntdll.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x10007f49
push esi
call fcn.100db735
add esp, 4
mov ebx, eax
mov dword [ebp - 0x18], ebx
push ebx
push esi
push dword [ebp - 0x24]
push str.ntdll.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x10163ec4
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10007f33
cmp dword [ebp - 0x28], 0x34
jb 0x10007f33
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x18]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 8]
movzx esi, word [eax + 0xa]
call fcn.100db740
add esp, 4
jmp 0x10007f52
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
call fcn.100db740
add esp, 4
jmp 0x10007f52
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
movzx eax, di
cmp si, 6
jb 0x1000809d
ja 0x10007f7b
cmp bx, 1
jb 0x1000809d
ja 0x10007f7b
mov ecx, 0x1db0
cmp ax, cx
jb 0x1000809d
mov edi, 0x64
cmp si, 0xa
jb 0x10007fce
ja 0x10007f97
test bx, bx
jne 0x10007f97
mov ecx, 0x3a6b
cmp ax, cx
jb 0x10007fce
push 0x10160578
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000808a
push str.GetDpiForWindow
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10008083
mov ebx, dword [ebp - 0x1c]
push ebx
call eax
imul ecx, eax, 0x64
jmp 0x10008077
cmp si, 6
ja 0x1000801e
cmp bx, 3
jae 0x1000801e
mov ebx, dword [ebp - 0x1c]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul ecx, eax, 0x64
mov eax, 0x2aaaaaab
push esi
push ebx
imul ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009780b
mov esp, ebp
pop ebp
ret
push str.Shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000808a
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
xorps xmm0, xmm0
push ebx
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
push str.GetDpiForMonitor
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10008083
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push ebx
call eax
test eax, eax
js 0x10008083
imul ecx, dword [ebp - 0x18], 0x64
mov eax, 0xaaaaaaab
mul ecx
mov edi, edx
shr edi, 6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009780b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x64
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009780b
mov esp, ebp
pop ebp
ret
Function at 0x10009610
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov ebx, eax
push esi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [ebp - 4]
push 1
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 0x248]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
call esi
mov eax, dword [ebp - 4]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [eax + 0x248]
call esi
mov eax, dword [ebp - 4]
push dword [eax + 0x248]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x10016299
mov edx, dword [esi]
and edx, 7
inc edx
jmp 0x1001629b
xor edx, edx
lea eax, [edx - 1]
cmp eax, 4
ja 0x100163cb
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 1
jbe 0x1001635c
push edi
lea ecx, [ebp + 0xc]
call fcn.10018799
push eax
push ebx
call fcn.10016474
add esp, 0xc
lea ecx, [ebp + 0xc]
push edi
call fcn.1001b8c5
push eax
push ebx
call fcn.10016474
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.10016ad8
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.10015712
test al, al
je 0x1001634d
and dword [ebp - 8], 0
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x14]
call fcn.10018786
push eax
push ebx
call fcn.10016474
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.1001b8b2
push eax
push ebx
call fcn.10016474
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov esi, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
call fcn.10015712
test al, al
jne 0x1001630b
push edi
push 0
push ebx
call fcn.10016474
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x10016365
mov esi, dword [esi + 0x10]
jmp 0x10016367
xor esi, esi
mov dword [ebp - 4], esi
test esi, esi
je 0x100163b4
mov eax, esi
test eax, eax
je 0x1001637c
mov al, byte [esi]
and al, 7
inc al
jmp 0x1001637e
xor al, al
push edi
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
call fcn.100dceb0
mov ecx, dword [ebp - 0xc]
add esp, 0x10
push edi
push esi
push ebx
call fcn.10016280
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.1001883e
mov esi, dword [eax]
mov eax, esi
mov dword [ebp - 4], esi
test esi, esi
jne 0x10016370
push edi
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 1
push eax
call fcn.100dceb0
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100163d2
Capabilities:
Write file on windows

Disassembly:
push 0x44
mov eax, 0x1012be69
call fcn.10098343
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x50]
push 0xa
sub esp, 0xc
mov dword [esp + 8], 0x40100000
mov dword [esp + 4], 0x3e800000
mov dword [esp], 0x3f400000
push 0x11
call fcn.10015348
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
push dword [edi]
mov ecx, edi
call fcn.10015faf
lea eax, [ebp - 0x50]
push eax
call fcn.10016110
mov ecx, dword [ebp - 0x4c]
xor ebx, ebx
push esi
inc ebx
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x6c6d7873
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
call fcn.100dceb0
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.100164e3
add esp, 0x1c
lea eax, [ebp - 0x50]
mov ecx, edi
push esi
push dword [edi]
push eax
call fcn.10016280
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.10015e45
call fcn.100982ed
ret 4
Function at 0x10016474
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0xff
jge 0x1001648b
xor esi, esi
inc esi
jmp 0x1001649b
cmp dword [edi + 4], 0xffff
push 4
pop esi
push 2
pop eax
cmovl esi, eax
push dword [ebp + 0xc]
and dword [ebp + 8], 0
lea ecx, [ebp - 4]
call fcn.10002570
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
je 0x100164c3
push dword [ebp + 0xc]
mov ecx, edi
call fcn.10015c75
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push esi
push 1
push eax
call fcn.100dceb0
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.100025f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100164e3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
call fcn.10015bab
mov edi, eax
test edi, edi
je 0x10016520
push esi
mov ecx, dword [ebp + 0xc]
mov esi, edi
push edi
call fcn.10015a69
push dword [esi]
mov edi, eax
call fcn.100db9bb
push dword [ebp + 8]
inc eax
push eax
push 2
push dword [esi]
call fcn.100dceb0
add esp, 0x14
test edi, edi
jne 0x100164f6
pop esi
pop edi
pop ebp
ret

Function at 0x10018667
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x1001868a
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x10018727
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.10017b74
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100186ad
push ebx
call fcn.100dbe1e
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x10018703
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x10188028]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x100186d8
call fcn.100dbe1e
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x10018703
push esi
push 1
push eax
call fcn.100dc144
push ebx
mov esi, eax
call fcn.100dbe1e
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x1001870c
push dword [ebp - 4]
call dword [0x1018802c]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x10018726
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.100185d1
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002561d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10137b1c
push dword [ebp + 8]
call fcn.100dbcd5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002567a
push ebx
push edi
push esi
call fcn.100ece24
push eax
call fcn.100ed117
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x10025659
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1002566f
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.100dc144
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.100dbe1e
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x100256ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.100260f1
mov ebx, eax
test ebx, ebx
je 0x10025729
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1002570d
cmp dword [ebp + 0x14], edi
jae 0x100256f2
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1002570d
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1002570d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x10025711
xor eax, eax
jmp 0x10025728
push edi
push eax
push dword [ebp + 0x10]
call fcn.100bb800
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10037367
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x1003738d
call fcn.10033362
jmp 0x100373b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10032815
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x100373b9
push 1
push ecx
push ecx
push eax
push 0x1013ce24
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x1003f311
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10130884
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x101887cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x54]
call fcn.1003dada
lea ecx, [esi + 0x40]
call fcn.1003f259
lea ecx, [esi + 0x30]
call fcn.10026917
lea ecx, [esi + 0x18]
call fcn.1003f215
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1003f365
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1003f374
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1003f383
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1003f392
add ecx, 0xc
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi], vtable.SOUI::TObjRefImpl_struct_SOUI::IUiDefInfo_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100407f7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 8]
call fcn.1004099c
test eax, eax
jne 0x10040909
mov ecx, dword [0x10190978]
test ecx, ecx
je 0x10040825
call fcn.1001fe55
mov esi, eax
jmp 0x10040827
xor esi, esi
push ebx
push 0x2800
call fcn.100db735
mov edi, eax
mov dword [esp], 0x5000
call fcn.100db735
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push str.Warning:_no_object__s_of_type:_d_in_SOUI__
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.1003cc63
add esp, 0x1c
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x10040888
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.100db740
pop ecx
test esi, esi
je 0x100408c4
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x100408c4
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.d:workspace_soui_soui_srccore_sobjectfactory.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x100408fd
mov ebx, 0x2800
push ebx
call fcn.100db735
push 0x3d
push str.d:workspace_soui_soui_srccore_sobjectfactory.cpp
push str.SOUI::SObjectFactoryMgr::CreateObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.1003cc44
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100db740
pop ecx
push edi
call fcn.100db740
pop ecx
xor eax, eax
pop ebx
jmp 0x10040925
mov ecx, dword [edi + 8]
push esi
call fcn.10040658
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.10040c1c
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x10045984
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x78
pop ecx
mov ax, word [edi + 0x210]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x210], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x10045a22
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
mov dword [ebp - 4], ecx
mov eax, dword [edi]
push 0
push ecx
push 1
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x100459ed
mov ecx, edi
call fcn.100471d9
mov ecx, dword [ebp - 4]
inc esi
cmp si, bx
jl 0x100459ca
cmp si, bx
jge 0x10045a22
push dword [ebp + 0x14]
mov edx, ebx
push dword [ebp + 0x10]
sub edx, esi
mov eax, edx
neg eax
cmp word [ebp + 0xc], 0
movzx ecx, ax
movzx eax, dx
cmovg ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.100329b7
test bx, bx
je 0x10045a61
mov ecx, edi
call fcn.100309a6
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10047ce5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101887cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.100bf790
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x10047d40
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x10047d54
cmp byte [ebp - 6], 1
jne 0x10047d54
cmp dword [ebp - 0x11c], 6
jne 0x10047d54
xor eax, eax
inc eax
jmp 0x10047d56
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1009780b
mov esp, ebp
pop ebp
ret
Function at 0x10053530
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x5c
mov eax, 0x10131be9
call fcn.1009830f
mov esi, ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.10027ed5
mov dword [ebp - 0x68], 0x101404d4
mov dword [ebp - 0x60], 0x101404e8
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x68]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x44], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x40], ebx
jne 0x10053733
cmp dword [ebp + 0x10], ebx
je 0x1005359e
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x100536f3
cmp dword [esi + 0x264], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x100535b5
cmp dword [esi + 0x260], 0
je 0x100535d7
push 0x11
call ebx
test ax, ax
jns 0x100535d7
cmp edi, 0xffffffff
je 0x10053701
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], eax
jmp 0x10053593
cmp dword [esi + 0x264], 0
jne 0x100535ed
cmp dword [esi + 0x260], 0
je 0x10053688
push 0x10
call ebx
test ax, ax
jns 0x10053688
cmp edi, 0xffffffff
je 0x10053701
xor eax, eax
mov ecx, edi
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 8], eax
mov edx, eax
cmovg ecx, eax
cmp ecx, eax
mov dword [ebp - 0x10], ecx
cmove edx, edi
xor ebx, ebx
mov dword [ebp + 0x10], edx
xor ecx, ecx
mov eax, dword [esi + 0x268]
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x10053646
cmp dword [eax + 0x1a4], 0
jle 0x10053646
mov eax, dword [esi + 0x270]
jmp 0x10053648
xor eax, eax
cmp ebx, eax
jge 0x10053701
mov edx, dword [esi + 0x26c]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x14], eax
cmp ebx, dword [ebp + 0x10]
jl 0x1005366c
cmp ebx, dword [ebp - 0x10]
jg 0x1005366c
xor eax, eax
inc eax
jmp 0x1005366e
xor eax, eax
mov dword [edx + ecx + 8], eax
cmp dword [ebp - 0x14], eax
je 0x10053682
push ebx
mov ecx, esi
call fcn.10053c7b
mov ecx, dword [ebp + 0xc]
inc ebx
add ecx, 0xc
jmp 0x10053628
or dword [esi + 0x220], 0xffffffff
xor ebx, ebx
xor ecx, ecx
mov eax, dword [esi + 0x268]
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x100536b1
cmp dword [eax + 0x1a4], 0
jle 0x100536b1
mov eax, dword [esi + 0x270]
jmp 0x100536b3
xor eax, eax
cmp ebx, eax
jge 0x100536de
mov eax, dword [esi + 0x26c]
cmp ebx, edi
je 0x100536d8
cmp dword [eax + ecx + 8], 0
je 0x100536d8
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.10053c7b
mov ecx, dword [ebp + 0xc]
inc ebx
add ecx, 0xc
jmp 0x10053693
cmp edi, 0xffffffff
je 0x10053701
imul eax, edi, 0xc
add eax, dword [esi + 0x26c]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x220], edi
call fcn.10053c7b
push esi
lea ecx, [ebp - 0x3c]
call fcn.10027ed5
mov dword [ebp - 0x3c], 0x10140558
mov dword [ebp - 0x34], 0x1014056c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], edi
call dword [eax + 0x94]
call fcn.100982d8
ret 0xc
Function at 0x1005790a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x1005796b
sub eax, 1
je 0x1005794d
sub eax, 3
je 0x1005794d
test dword [edi + 0x370], 0x2000
je 0x10057986
push esi
call fcn.100ee127
pop ecx
test eax, eax
jne 0x10057986
cmp esi, 0x2d
je 0x10057986
cmp esi, 0x2e
je 0x10057986
cmp esi, 0x2c
je 0x10057986
jmp 0x100579a1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x10057986
test dword [edi + 0x370], 0x1000
jmp 0x10057984
test byte [edi + 0x374], 0x80
jne 0x10057986
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100579a1
mov eax, dword [edi + 0x380]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10057c73
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x10131f6a
call fcn.1009830f
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.10027ed5
mov dword [ebp - 0x38], 0x10140bb8
mov dword [ebp - 0x30], 0x10140bcc
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
cmp byte [ebp - 0x10], bl
jne 0x10057cfe
cmp edi, 0xd
jne 0x10057ce2
test dword [esi + 0x370], 0x1000
jne 0x10057ce2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10057cfe
mov eax, dword [esi + 0x380]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
jmp 0x10057d01
mov dword [esi + 0x10], ebx
call fcn.100982d8
ret 0xc