joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432310
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4689f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432349
inc eax
mov dword [esi + 0x10], eax
jmp 0x43245c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43235d
mov eax, 0xffffffc7
jmp 0x43245e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43236e
cmp dword [esi + 8], eax
jne 0x43235d
cmp dword [esi + 8], eax
jne 0x432387
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432387
mov eax, 0xffffffc7
jmp 0x43245e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43239b
push eax
mov ecx, ebx
call fcn.00431b40
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402730
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4323cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402750
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004312b0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4323ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537de0
call fcn.00402930
mov eax, dword [esp + 0x38]
jmp 0x43245e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432170
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432443
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432190
mov esi, eax
test esi, esi
jne 0x432473
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432170
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432415
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537de0
call fcn.00402930
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537de0
call fcn.00402930
mov eax, esi
jmp 0x43245e

Function at 0x435590
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4355f0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4355f0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4355f0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4355f0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43b760
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00461e63
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b100
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00461d91
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045e655
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045e655
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e5fd
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e5fd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461ed5
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b8e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00461e63
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b100
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00461d91
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43b9a4
cmp dword [esp + 0x40], 1
jne 0x43b9a2
cmp ecx, eax
jge 0x43b9a4
mov eax, ecx
cmp eax, 0xc8
jge 0x43b9b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b760
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461ed5
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c120
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4690b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ca73
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046210b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463627
test eax, eax
je 0x43c23c
mov ecx, dword [esp + 0x3c]
call fcn.00462138
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c200
push edi
mov ecx, esi
call fcn.0045f79c
mov ecx, esi
call fcn.0043c3a0
cmp dword [esp + 0x38], 1
jne 0x43c235
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045f8d7
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43ec60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ec93
push esi
call fcn.00441d60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ec8c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43ed19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ed02
mov eax, dword [esi + 8]
test eax, eax
je 0x43ecb7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43ecfe
cmp eax, 2
je 0x43ed02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ecaa
cmp eax, 3
je 0x43ecdd
cmp eax, 1
jne 0x43ecaa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43ecaa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ecaa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ed40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ed28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ed40
add esp, 4
pop esi
ret

Function at 0x45d868
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d8a0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045b91f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b8f7
jmp 0x45d8ac
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45ef59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45ef9b
call fcn.00464a17
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45ef9b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45ef92
xor eax, eax
jmp 0x45efa3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045efa9
pop edi
pop esi
pop ebx
ret 4

Function at 0x464f47
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x464f75
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x464f93
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00464ead
jmp 0x464f93
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464f93
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00464ead
test edi, edi
mov eax, edi
jne 0x464f7d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x300018e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [section..cdata]
push esi
mov dword [ebp + 0x194], eax
lea eax, [ebp - 0x7c]
push eax
push 0x20019
xor esi, esi
push esi
push 0x300019b0
push 0x80000002
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x30001990
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x80]
shr eax, 1
cmp dword [ebp - 0x7c], esi
mov word [ebp + eax*2 - 0x78], si
je 0x30001958
push dword [ebp - 0x7c]
call dword [entry0]
push 0x105
lea edx, [ebp - 0x78]
mov ecx, 0x30001a08
call fcn.300018b7
lea eax, [ebp - 0x78]
push eax
call dword [0x30001338]
cmp eax, esi
pop esi
je 0x30087e3c
mov ecx, dword [ebp + 0x194]
call fcn.30056b36
add ebp, 0x198
leave
ret
push 0x300a5b54
call fcn.301d8254
jmp 0x3000197d
Function at 0x30002589
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
xor ebx, ebx
cmp dword [0x301dd764], ebx
push esi
mov dword [ebp - 4], ebx
jne 0x300026f8
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x30002700
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x300026f8
push edi
mov esi, str.perf.dll
lea edi, [ebp - 0x6c]
push 0x11
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop ecx
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x50
call fcn.30013847
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [entry0]
lea eax, [ebp - 0x6c]
push eax
call dword [0x300012e0]
cmp eax, ebx
mov dword [0x301dd774], eax
pop edi
je 0x300026f8
mov esi, dword [fcn.30001344]
push str._InitPerf_4
push eax
call esi
push str._PerfCodeMarker_12
mov dword [0x301dd764], eax
push dword [0x301dd774]
call esi
push str._UnInitPerf_4
mov dword [0x301df2dc], eax
push dword [0x301dd774]
call esi
push str._PerfCodeMarkerStatus_4
mov dword [0x301e4cd4], eax
push dword [0x301dd774]
call esi
push str._PerfReplaceCodeMarker_8
mov dword [0x301e4cd8], eax
push dword [0x301dd774]
call esi
mov dword [0x301e4cdc], eax
mov eax, dword [0x301dd764]
cmp eax, ebx
je 0x300026f8
cmp dword [0x301df2dc], ebx
je 0x300026f8
cmp dword [0x301e4cd4], ebx
je 0x300026f8
push dword [ebp + 8]
call eax
call fcn.3005480c
cmp dword [ebp + 0xc], ebx
jne 0x30087e62
push 8
call fcn.30013812
push 9
call fcn.30013812
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.30013847
push dword [ebp - 8]
push dword [ebp - 0xc]
push 4
call dword [0x301df2dc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 5
call dword [0x301df2dc]
pop esi
pop ebx
leave
ret 8
mov eax, dword [0x301df2dc]
cmp eax, ebx
je 0x300026c1
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x221
call eax
jmp 0x300026c1
Function at 0x30006e11
Capabilities:
Get keyboard layout

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa8
push esi
push edi
call dword [sym.imp.MSO.DLL_Ordinal_2392]
xor esi, esi
inc esi
push esi
call dword [sym.imp.MSO.DLL_Ordinal_3077]
call dword [sym.imp.MSO.DLL_Ordinal_1815]
mov ecx, dword [0x301e469c]
and cl, 0x2c
xor edi, edi
mov dword [0x301e4af0], eax
or ecx, 8
cmp eax, edi
mov dword [0x301e469c], ecx
je 0x30006e5c
cmp dword [eax], edi
je 0x30006e5c
push edi
call dword [eax + 0xb0]
push 0x10
push 0x301ddc00
push edi
call fcn.30056452
cmp dword [0x301ddc14], edi
jne 0x3006e5a9
cmp dword [0x301ddc18], edi
jne 0x3006e65f
call fcn.30006b18
pop edi
pop esi
add ebp, 0x78
leave
ret
mov eax, dword [0x301e4af0]
cmp eax, edi
je 0x3006e5b9
cmp dword [eax], edi
mov dword [ebp + 0x70], esi
jne 0x3006e5bc
mov dword [ebp + 0x70], edi
push ebx
xor ebx, ebx
cmp dword [0x301ddd88], edi
lea eax, [ebp - 0x30]
sete bl
push eax
push 0x28
mov dword [0x301e6c2c], edi
mov dword [0x301e6c30], edi
inc ebx
shl ebx, 0xa
or ebx, 4
call dword [0x30001640]
xor esi, esi
cmp eax, edi
mov dword [ebp + 0x74], eax
jle 0x3006e60b
cmp dword [ebp + 0x70], edi
jne 0x3006e629
push dword [ebp + esi*4 - 0x30]
call fcn.300c9354
test eax, eax
je 0x3006e630
mov eax, dword [ebp + esi*4 - 0x30]
mov dword [0x301e6c30], eax
xor esi, esi
cmp dword [ebp + 0x74], edi
pop ebx
jle 0x30006e81
cmp dword [ebp + 0x70], edi
jne 0x3006e638
push dword [ebp + esi*4 - 0x30]
call fcn.300c9354
test eax, eax
jmp 0x3006e644
cmp word [ebp + esi*4 - 0x30], bx
je 0x3006e602
inc esi
cmp esi, dword [ebp + 0x74]
jl 0x3006e5f0
jmp 0x3006e60b
mov ax, word [ebp + esi*4 - 0x30]
and ah, 3
cmp ax, 9
je 0x3006e651
inc esi
cmp esi, dword [ebp + 0x74]
jl 0x3006e617
jmp 0x30006e81
mov eax, dword [ebp + esi*4 - 0x30]
mov dword [0x301e6c2c], eax
jmp 0x30006e81
push 0x3006e6b8
call dword [fcn.30001348]
cmp eax, edi
je 0x30006e81
push 0x3006e698
push eax
call fcn.3000814b
cmp eax, edi
mov dword [0x301e5788], eax
je 0x30006e81
mov dword [0x301e578c], esi
jmp 0x30006e81

Function at 0x30007bff
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
cmp dword [0x301de6f0], esi
jne 0x30007c7d
test byte [ebp + 0x10], 1
mov eax, dword [0x301dec00]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x30007c84
mov dword [ebp - 0x24], 0x3002cfa8
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 6
mov dword [ebp - 0x28], 0x2028
jne 0x3005adc7
test byte [ebp + 0x10], 2
jne 0x3005add3
test byte [ebp + 0x10], 4
jne 0x3005addc
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
xor edi, edi
lea eax, [ebp - 0x28]
push eax
call fcn.30002cce
test ax, ax
je 0x3005ade5
pop edi
pop esi
leave
ret 0xc
mov dword [ebp - 0x28], 0x202b
jmp 0x30007c4a
and byte [ebp - 0x27], 0xdf
jmp 0x30007c54
or byte [ebp - 0x27], 8
jmp 0x30007c5e
push edi
push 3
push esi
call fcn.300e1d83
dec eax
jne 0x3005adf7
inc edi
jmp 0x30007c6a
dec eax
je 0x30007c7c
push 6
push dword [0x301e4ae8]
call fcn.301d8d74
Function at 0x30019bfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [section..cdata]
push ebx
xor ebx, ebx
cmp dword [0x301e4790], ebx
mov dword [ebp + 0x1a8], eax
jne 0x3004922f
mov ecx, dword [ebp + 0x1a8]
pop ebx
call fcn.30056b36
add ebp, 0x1ac
leave
ret
call fcn.3001a11e
test eax, eax
jne 0x30019c24
cmp byte [0x301e4d00], bl
jne 0x3006ed7c
lea eax, [ebp - 0x64]
push eax
call dword [0x30001518]
cmp dword [0x301e4aec], ebx
je 0x3006ed8e
push esi
push edi
call dword [0x3000147c]
mov edi, eax
cmp edi, ebx
jne 0x3006edbb
push dword [0x301e47a0]
call dword [fcn.30001474]
call dword [fcn.30001478]
cmp byte [0x301e4d0d], bl
mov esi, dword [0x300014d4]
mov edi, fcn.3001a2e7
mov ecx, edi
je 0x3006ee59
push 1
mov eax, 0x200
push eax
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
call ecx
test eax, eax
jne 0x30053a69
cmp byte [0x301e4d0d], bl
je 0x300492bd
mov esi, edi
push 1
mov eax, 0xa0
push eax
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
jne 0x30053a69
cmp dword [0x301e4aec], ebx
je 0x3006ee60
pop edi
pop esi
jmp 0x30019c24
cmp byte [0x301e4d0d], bl
mov eax, 0x3001a093
je 0x3006ee6c
lea ecx, [ebp - 0x80]
push ecx
call eax
jmp 0x300492e1
test byte [0x301e469c], 2
jne 0x30019c24
jmp 0x30049248
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call dword [fcn.30001638]
cmp eax, ebx
je 0x3006edb0
push eax
call fcn.3005607b
cmp eax, dword [0x301e4748]
je 0x3004925e
mov dword [0x301de114], ebx
jmp 0x30019c24
push 0x101
lea eax, [ebp - 0x5c]
push eax
push edi
call dword [0x300014f0]
mov esi, dword [sym.imp.MSO.DLL_Ordinal_295]
push 5
push 5
lea eax, [ebp - 0x5c]
push eax
call esi
push eax
call fcn.30055f82
push eax
push 0x3006ee78
lea eax, [ebp - 0x5c]
push eax
call fcn.30055c94
test eax, eax
je 0x300492e1
push 4
lea eax, [ebp - 0x5c]
push eax
call esi
push eax
push 0x3006ee84
lea eax, [ebp - 0x5c]
push eax
call fcn.30055c94
test eax, eax
je 0x300492e1
push edi
call fcn.3005607b
cmp eax, dword [0x301e4748]
jne 0x300492e1
mov esi, dword [fcn.300014f8]
push 1
call esi
test ah, ah
js 0x30049282
push 2
call esi
test ah, ah
js 0x30049282
call dword [fcn.30001478]
push edi
call dword [fcn.30001474]
jmp 0x30049282
mov ecx, esi
jmp 0x3004929b
push 1
call fcn.30046ff5
jmp 0x300492e1
mov eax, dword [0x30001490]
jmp 0x30053a7a
Function at 0x3002de23
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [fcn.300014f8]
push 1
call esi
test ax, ax
jl 0x3002de49
push 2
call esi
test ax, ax
jl 0x3002de49
push 4
call esi
test ax, ax
jl 0x3002de49
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret
Function at 0x300463f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
cmp dword [0x301e3340], 6
mov eax, dword [section..cdata]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
jl 0x30046423
mov eax, dword [ebp + 8]
cmp word [eax + 2], 0
jne 0x3007e47c
mov ecx, dword [ebp - 4]
call fcn.30056b36
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [0x301e4ae8]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0xb4]
push 0
push eax
mov dword [0x301e4ae8], eax
call fcn.3005644c
test eax, eax
pop ecx
pop ecx
je 0x3007e4ac
mov dword [0x301e3f5c], 1
jmp 0x3007e5f9
mov edi, dword [ebp + 8]
movzx esi, word [edi + 2]
lea esi, [esi*4 + 8]
push 1
push esi
mov dword [ebp - 0x60], esi
call fcn.300563f8
push esi
mov ebx, eax
push ebx
push 0
call fcn.30056452
mov al, byte [ebp + 0xc]
mov byte [ebx + 4], al
mov ax, word [edi + 2]
mov word [ebx + 6], ax
movzx eax, ax
dec eax
js 0x3007e533
lea ecx, [edi + eax*2 + 0xc]
lea esi, [ebx + eax*4 + 8]
inc eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
push eax
call fcn.300110d1
movzx eax, word [eax + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
push eax
call fcn.3000fc23
mov cl, byte [esi]
sub dword [ebp - 0x58], 2
xor cl, al
mov ax, word [ebp - 0x64]
mov word [esi + 2], ax
and ecx, 1
xor word [esi], cx
sub esi, 4
dec dword [ebp - 0x5c]
jne 0x3007e4f3
mov esi, dword [ebp - 0x60]
push ebx
push esi
push 0x85a
call fcn.3004131e
push esi
push ebx
call dword [sym.imp.MSO.DLL_Ordinal_957]
push 0
push dword [ebp + 0xc]
push 0
push 0x11
call fcn.30185e16
movzx eax, word [edi + 2]
lea esi, [edi + 0xc]
lea edi, [esi + eax*2]
jmp 0x3007e5e8
movzx eax, word [esi]
push eax
mov dword [ebp - 0x58], 0x31
mov dword [ebp - 0x5c], 0xf
call fcn.30013400
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push dword [eax + 0x74]
push eax
call fcn.30010cb5
push eax
call fcn.30042d56
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x58]
call fcn.3004131e
movzx eax, word [esi]
push eax
call fcn.3000fc23
test eax, eax
je 0x3007e5e6
movzx eax, word [esi]
push eax
call fcn.300110d1
movzx ebx, word [eax + 8]
movzx eax, word [esi]
push eax
call fcn.300110d1
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x74]
push ecx
push ebx
push eax
call fcn.30046161
lea eax, [ebp - 0x74]
push eax
push 0xa
push 0x1060
call fcn.3004131e
inc esi
inc esi
cmp esi, edi
jb 0x3007e564
push 0
push 0x11
call fcn.30044992
mov eax, dword [ebp - 0x68]
mov dword [0x301e4ae8], eax
jmp 0x30046423
Function at 0x30049bfb
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x301e46ec], 1
je 0x3005c150
push ebx
push ebp
push esi
mov esi, dword [fcn.300014f8]
push edi
push 0x10
call esi
xor edi, edi
test ax, ax
mov dword [esp + 0x10], 4
jl 0x30049c2a
mov dword [esp + 0x10], edi
push 0x11
call esi
test ax, ax
jl 0x3005c157
xor ebx, ebx
push 0x12
call esi
test ax, ax
jl 0x3005c15f
push 0x14
call esi
mov bp, ax
push 0x90
and ebp, 1
add ebp, ebp
call esi
push 0x91
and eax, 1
or ebp, eax
shl ebp, 2
call esi
and eax, 1
or ebp, eax
shl ebp, 8
or ebp, edi
or ebp, ebx
or ebp, dword [esp + 0x10]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [0x301e5160]
pop ecx
ret
push 8
pop ebx
jmp 0x30049c39
push 0x20
pop edi
jmp 0x30049c46