joyce8/EMBER2024-capa huggingface dataset:
Function at 0x23a27580
Capabilities:
Get installed programs

Disassembly:
push 0xffffffffffffffff
push 0x23bd03a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
lea ebp, [ecx + 0x30c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
cmp dword [ebp + 0xc], edi
jbe 0x23a275b3
call fcn.23a49e3d
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp]
cmp esi, dword [ebp + 0x10]
jbe 0x23a275c3
call fcn.23a49e3d
mov eax, dword [ebp]
push edi
push ebx
push esi
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.23a23ea0
mov edi, 0x23c674c8
mov dword [esp + 0x18], 9
xor ebx, ebx
jmp 0x23a275f0
xor ecx, ecx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
push 0x34
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], ebx
call fcn.23a02320
mov ecx, dword [edi - 8]
mov eax, ecx
mov dword [esp + 0x44], 1
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x23a27627
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.23a028a0
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
mov esi, 8
mov byte [esp + 0x44], 2
cmp dword [esp + 0x38], esi
jae 0x23a2765d
lea eax, [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x23a276a3
lea eax, [edi - 4]
push eax
mov ecx, ebp
call fcn.23a24910
cmp dword [edi], 1
jne 0x23a276a3
cmp byte [edi + 4], bl
je 0x23a27698
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x21d], 1
mov edx, dword [esp + 0x14]
mov byte [edx + 0x21c], 1
mov eax, dword [esp + 0x10]
mov byte [esp + 0x44], 1
cmp eax, ebx
je 0x23a276ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x23a276ca
push eax
push str.RegCloseKey___failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x38], esi
jb 0x23a276e9
mov eax, dword [esp + 0x24]
push eax
call fcn.23a2ed1b
add esp, 4
add edi, 0x10
sub dword [esp + 0x18], 1
jne 0x23a275f0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x124]
mov eax, dword [edx + 0x20]
push ebx
push ebx
push 0x4d5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
pop edi
pop esi
test ecx, 0xfffffffc
mov ecx, dword [esp + 0x34]
pop ebp
setne al
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x23a284b0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x23a284be
pop esi
ret 4
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x2c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push eax
call edi
cmp eax, 0x102
jne 0x23a28519
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
push str._s:_Thread___s____u_id__has_been_terminated
call dword [0x23c41f38]
mov eax, dword [esi + 0xc]
add esp, 0x10
test eax, eax
je 0x23a284fe
mov eax, dword [eax + 0x2c]
push 0x5b4
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x23a28514
mov eax, dword [eax + 0x2c]
push 0xffffffffffffffff
push eax
call edi
mov eax, dword [esi + 0xc]
pop edi
test eax, eax
je 0x23a28524
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x23a2854d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetExitCodeThread___failed_with_0x_08X_error
mov dword [esp + 0x10], eax
call dword [0x23c41f24]
add esp, 8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x23a2855d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov eax, dword [esp + 8]
mov dword [esi + 0xc], 0
pop esi
ret 4

Function at 0x23a29880
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
mov edi, ecx
call fcn.23a49830
mov esi, dword [esp + 0x6c]
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
push 1
push eax
push eax
push esi
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x23a298f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push esi
push str.CreateProcess___s___failed_with_0x_08X_error
call dword [0x23c41f28]
add esp, 0xc
mov eax, edi
pop edi
pop esi
add esp, 0x54
ret 4
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x23a29919
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CloseHandle___failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 4
Function at 0x23a359cb
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 0x23a35a12
call fcn.23a3b00e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x23a35a12
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x23a35a2e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.23a35543
mov esi, eax
test edi, edi
je 0x23a35a2c
test ebx, ebx
je 0x23a35a2c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x23a362aa
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x23bd0bba
call fcn.23a4c532
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x23a362cf
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x23a36315
lea ecx, [ebp - 0x10]
call fcn.23a0f0c0
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.23a2ed8a
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.23a0efc0
mov eax, esi
call fcn.23a4c60a
ret 8
Function at 0x23a370f9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x23c68938]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x23a37191
push 0x23beb94c
push 4
push eax
call fcn.23a4c3f0
push eax
call fcn.23a0f370
add esp, 0x10
push ebx
push edi
call fcn.23a4c6bd
mov edi, dword [eax]
call fcn.23a4c6bd
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.23a4c65a
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.23a4c6bd
cmp dword [eax], ebx
je 0x23a371a8
call fcn.23a4c6bd
push dword [eax]
call fcn.23a2ee5f
pop ecx
jmp 0x23a371af
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x23a3713c
jmp 0x23a37236
call fcn.23a4c6bd
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x23a37232
cmp dword [ebp - 0x234], esi
jae 0x23a37232
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.23a49830
add esp, 0xc
push 0x23beb6ac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x23a37221
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x23a37221
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x23a37221
push ebx
push ebx
push esi
jmp 0x23a3722a
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x23a37234
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.23a4addf
leave
ret

Function at 0x23a3a640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x23a3a664
cmp dword [edi + 0x54], 0
jne 0x23a3a664
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.23a3b00e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.23a3a601
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x23a4291a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.23a3b00e
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x23a42947
xor eax, eax
jmp 0x23a429ed
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x23a42940
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x23a42940
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.23a2ecec
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x23a4299e
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x23a4298d
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.23a42426
push edi
mov ebx, eax
call fcn.23a2ed1b
pop ecx
test ebx, ebx
je 0x23a429e0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.23a4279f
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.23a42853
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x23a4addf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x23c68938]
jne 0x23a4ade9
repz ret
jmp fcn.23a57a05
Function at 0x23a59e80
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.23a4e795
and dword [ebp - 4], 0
cmp dword [0x23c7cc00], 0
mov ebx, eax
jne 0x23a59f31
push 0x23bef48c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x23a59fe2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x23bef480
push edi
call esi
test eax, eax
je 0x23a59fe2
push eax
call fcn.23a4e723
mov dword [esp], 0x23bef470
push edi
mov dword [0x23c7cc00], eax
call esi
push eax
call fcn.23a4e723
mov dword [esp], 0x23bef45c
push edi
mov dword [0x23c7cc04], eax
call esi
push eax
call fcn.23a4e723
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x23c7cc08], eax
call esi
push eax
call fcn.23a4e723
pop ecx
mov dword [0x23c7cc10], eax
test eax, eax
je 0x23a59f31
push 0x23bef428
push edi
call esi
push eax
call fcn.23a4e723
pop ecx
mov dword [0x23c7cc0c], eax
mov eax, dword [0x23c7cc0c]
cmp eax, ebx
je 0x23a59f89
cmp dword [0x23c7cc10], ebx
je 0x23a59f89
push eax
call fcn.23a4e79e
push dword [0x23c7cc10]
mov esi, eax
call fcn.23a4e79e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x23a59f89
test edi, edi
je 0x23a59f89
call esi
test eax, eax
je 0x23a59f80
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x23a59f80
test byte [ebp - 0xc], 1
jne 0x23a59f89
or dword [ebp + 0x10], 0x200000
jmp 0x23a59fc2
mov eax, dword [0x23c7cc04]
cmp eax, ebx
je 0x23a59fc2
push eax
call fcn.23a4e79e
pop ecx
test eax, eax
je 0x23a59fc2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x23a59fc2
mov eax, dword [0x23c7cc08]
cmp eax, ebx
je 0x23a59fc2
push eax
call fcn.23a4e79e
pop ecx
test eax, eax
je 0x23a59fc2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x23c7cc00]
call fcn.23a4e79e
pop ecx
test eax, eax
je 0x23a59fe2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x23a59fe4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x23a62960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x23bd4b58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CXTPMarkupType.0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x23a629a2
call fcn.23a61dd0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.23a61d70
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x23a63540
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
push eax
mov esi, ecx
call fcn.23a36700
movzx ecx, word [edi + 6]
mov ebx, dword [esp + 0x18]
and eax, ecx
mov dword [ebx], eax
xor edx, edx
div dword [esi + 8]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov esi, dword [esi + 4]
test esi, esi
je 0x23a6358f
mov esi, dword [esi + edx*4]
test esi, esi
je 0x23a6358f
mov ecx, dword [esi + 0x10]
cmp ecx, dword [ebx]
jne 0x23a63588
push edi
push esi
call fcn.23a627e0
test eax, eax
jne 0x23a63597
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x23a63576
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc

Function at 0x23a64530
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x23bd4b58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.23a61d50
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x2c]
push esi
push eax
mov dword [esp + 0x1c], ecx
mov dword [esi], vtable.CXTPMarkupType.0
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x30], ecx
call fcn.23a63ee0
mov ecx, eax
call fcn.23a64500
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14
Function at 0x23a66cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.23a64f40
mov ecx, eax
jmp fcn.23a662b0

Function at 0x23a6add0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x23bd22f4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CXTPResize.0
mov dword [esp + 0x14], 2
call fcn.23a6ab80
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 1
call fcn.23a6a9c0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.23a6a570
mov esi, dword [esi + 0x2c]
sub esi, 0x10
mov dword [esp + 0x14], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x23a6ae4f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x23a6afd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x23bd231b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ecx
mov dword [esi], vtable.CXTPResize.0
mov dword [esi + 4], eax
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x23c40f6c
lea ecx, [esi + 0x2c]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.23a13680
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], edi
call fcn.23a6a8e0
lea ecx, [esi + 0x88]
call fcn.23a6a9a0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8

Function at 0x23a6c170
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [ecx + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x23a6c181
ret 4
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x23a6c1b2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [edi]
push ecx
mov ecx, dword [ecx - 0xc]
inc ecx
push ecx
push eax
call fcn.23a4c3f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
ret 4
Function at 0x23a6e6b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x5c], 0
je 0x23a6e6d4
cmp dword [esi + 0x20], 0
je 0x23a6e6d4
call fcn.23a35b94
test eax, 0x800
jne 0x23a6e6d4
mov eax, dword [esi + 0x70]
cmp dword [eax - 0xc], 0
jne 0x23a6e6eb
mov edx, dword [esi]
mov eax, dword [edx + 0x118]
push 0
push 0
push 0x302
mov ecx, esi
call eax
pop esi
ret
mov eax, dword [esi + 0x20]
push edi
test eax, eax
je 0x23a6e73a
push ebx
lea edi, [esi + 0x58]
push edi
lea ebx, [esi + 0x54]
push ebx
push 0xb0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x80]
push ecx
mov ecx, esi
call fcn.23a33d98
mov ecx, esi
call fcn.23a6da30
push 1
push ebx
mov ecx, esi
call fcn.23a6c7f0
push 1
push edi
mov ecx, esi
call fcn.23a6c7f0
mov ebx, dword [ebx]
cmp dword [edi], ebx
jge 0x23a6e739
mov dword [edi], ebx
pop ebx
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x23a6e74b
pop edi
pop esi
ret
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x23a6e778
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, esi
call fcn.23a6e560
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 1
mov ecx, esi
call fcn.23a6dc30
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, 1
pop esi
ret

Function at 0x23a6e790
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x5c], 0
je 0x23a6e7b4
cmp dword [esi + 0x20], 0
je 0x23a6e7b4
call fcn.23a35b94
test eax, 0x800
jne 0x23a6e7b4
mov eax, dword [esi + 0x70]
cmp dword [eax - 0xc], 0
jne 0x23a6e7c4
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.23a30728
pop esi
ret 4
push ebx
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi + 4], 0x100
jne case.0x23a6e83a.68
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x6d
call ebx
test ax, ax
jge 0x23a6e7fe
push 1
push 1
push 0x2d
mov ecx, esi
call fcn.23a6e440
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
push 0x6b
call ebx
test ax, ax
jge 0x23a6e81f
push 1
push 1
push 0x2b
mov ecx, esi
call fcn.23a6e440
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
push 0x11
call ebx
test ax, ax
jge case.0x23a6e83a.68
mov eax, dword [edi + 8]
add eax, 0xffffffbd
cmp eax, 0x37
ja case.0x23a6e83a.68
movzx edx, byte [eax + 0x23a6e8ac]
jmp dword [edx*4 + 0x23a6e898]
mov ecx, esi
call fcn.23a6e660
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.23a6dd80
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.23a6e6b0
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.23a6c6a0
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
push edi
mov ecx, esi
call fcn.23a30728
pop edi
pop ebx
pop esi
ret 4
Function at 0x23a6f790
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x3c
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x23a6f7bf
xor eax, eax
pop esi
add esp, 0x3c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xe
lea edx, [esp + 0x18]
push edx
push esi
call edi
test eax, eax
je 0x23a6f81a
cmp dword [esp + 8], 0xe
jne 0x23a6f81a
push 0
lea eax, [esp + 0xc]
push eax
push 0x28
lea ecx, [esp + 0x28]
push ecx
push esi
call edi
test eax, eax
je 0x23a6f81a
cmp dword [esp + 8], 0x28
jne 0x23a6f81a
xor edx, edx
cmp word [esp + 0x2a], 0x20
push esi
sete dl
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x3c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret

Function at 0x23a6f830
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x23a6f8f9
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x14]
push edx
push edi
mov byte [esp + 0x18], 0x89
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0x4e
mov byte [esp + 0x1b], 0x47
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x23a6f8f2
cmp dword [esp + 0xc], 4
jne 0x23a6f8f2
mov eax, dword [esp + 8]
push esi
cmp eax, dword [esp + 8]
je 0x23a6f8c2
movzx esi, al
sub esi, 0x89
jne 0x23a6f8d8
movzx esi, ah
sub esi, 0x50
jne 0x23a6f8d8
movzx esi, byte [esp + 0xe]
sub esi, 0x4e
jne 0x23a6f8d8
movzx esi, byte [esp + 0xf]
sub esi, 0x47
jne 0x23a6f8d8
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test esi, esi
pop esi
sete al
pop edi
add esp, 0xc
ret
sar esi, 0x1f
push edi
or esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test esi, esi
pop esi
sete al
pop edi
add esp, 0xc
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
add esp, 0xc
ret