joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41196d
Capabilities:
Terminate process

Disassembly:
mov eax, 0x56e6bc
call fcn.00529900
sub esp, 0x4a8
lea eax, [ebp - 0x1b4]
and dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
call fcn.0052b790
add esp, 0x14
lea eax, [ebp - 0x1b4]
push eax
call fcn.00529f40
cmp eax, 1
pop ecx
jbe 0x411b56
push dword [ebp + 0x14]
lea eax, [ebp - 0x1b3]
push eax
call fcn.00484350
pop ecx
test eax, eax
pop ecx
jne 0x411b56
push edi
push esi
push 0xc
push 1
call fcn.004a585b
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0054c50d
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0054c6f4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0054c49f
lea eax, [ebp - 0xb4]
push 0x40
push eax
push 0x32
call fcn.0043c053
add esp, 0xc
lea eax, [ebp - 0xb4]
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x3b4]
push eax
call fcn.004844cc
add esp, 0xc
lea eax, [ebp - 0x3b4]
push eax
call fcn.0044f437
mov eax, dword [0x5b7bf4]
pop ecx
and dword [ebp - 0x70], 0
push 0x5888b8
push dword [ebp - 4]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0x5b7bf4
mov dword [0x5b7bf4], eax
lea eax, [ebp - 0x64]
push 0x529580
push 3
push eax
call fcn.0052a5c0
add esp, 0x14
test eax, eax
jne 0x411b1f
push dword [ebp + 0x10]
call fcn.0048441d
mov esi, dword [ebp - 0x10]
pop ecx
push eax
mov dword [esi], eax
call fcn.0041795c
test eax, eax
pop ecx
mov dword [esi + 4], eax
mov edi, 0x40000001
jne 0x411aba
push edi
call fcn.00401daf
pop ecx
push str.PlugInMain
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 8], eax
jne 0x411ad6
push edi
call fcn.00401daf
pop ecx
push 0xa
push str.API_DIGITAL_CERTIFICATE
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x411af1
push edi
call fcn.00401daf
pop ecx
push esi
call fcn.004521e3
test ax, ax
pop ecx
jne 0x411b04
push edi
call fcn.00401daf
pop ecx
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
pop ecx
test ax, ax
pop ecx
jne 0x411b15
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
jmp 0x411b48
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x411b48
mov eax, dword [esi]
test eax, eax
je 0x411b33
push eax
call fcn.00486983
pop ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x411b41
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.00486983
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0054c49f
pop esi
pop edi
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0054c49f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0054c49f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dword fs:[0], ecx
leave
ret
Function at 0x414868
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
cmp dword [0x5b2c58], 0
jne 0x414996
push edi
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
push dword [0x5b2ac0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x54c]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0052b790
add esp, 0x14
lea eax, [ebp - 0x208]
push str...ResourceCMap
push eax
call fcn.0048448f
pop ecx
lea eax, [ebp - 0x208]
pop ecx
push 0x5941b8
push 0x5941b4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0052b910
mov esi, dword [sym.imp.USER32.dll_OemToCharA]
add esp, 0x14
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41498d
test byte [ebp - 0x44c], 0x10
jne 0x41497b
lea eax, [ebp - 0x420]
push 0x5b23e4
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0052b910
add esp, 0x14
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x30c]
push eax
call fcn.00488e2b
pop ecx
push eax
call fcn.00414998
pop ecx
lea eax, [ebp - 0x44c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414928
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop edi
leave
ret

Function at 0x414af9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x64
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x414b39
push 3
lea eax, [ebp - 0x6c]
push 0x594474
push eax
call fcn.00484395
add esp, 0xc
test eax, eax
jne 0x414b39
leave
ret
push 1
pop eax
leave
ret

Function at 0x414b3e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, str.CLSIDDF9A1DA0_23C0_101B_B02E_FDFDFDFDFDFDAcrobatVersion
push esi
call fcn.00414af9
movzx eax, al
test eax, eax
pop ecx
je 0x414b85
lea eax, [ebp - 4]
push eax
push esi
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x414b85
push eax
push 0x594474
push 1
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x415e1a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 6]
push eax
lea eax, [ebp - 2]
push eax
call fcn.00415d55
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea edi, [eax + ecx]
cmp edi, 0xffffffff
je 0x415e94
cmp edi, 0x100000
jb 0x415e94
movsx eax, word [ebp - 2]
imul eax, eax, 0x76560
push 8
mov esi, edi
cdq
pop ecx
idiv ecx
push 3
xor edx, edx
shr esi, 2
mov ecx, eax
mov eax, edi
pop edi
shl ecx, 3
div edi
cmp esi, ecx
jle 0x415e86
mov ecx, esi
cmp ecx, eax
jl 0x415e8c
mov ecx, eax
lea eax, [ecx + 0x10000]
jmp 0x415e96
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x41795c
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x56ed90
call fcn.00529900
push ecx
sub esp, 0x160
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x417a1a
push 0x104
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x417a1a
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.0052bc30
pop ecx
pop ecx
test eax, eax
je 0x4179c7
mov eax, dword [ebp - 0x1c]
jmp 0x417a1d
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14], 0
jle 0x417a0e
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x14c]
mov dword [ebp - 0x14], eax
jmp 0x4179e6
jmp 0x417a16
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41923d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
cmp eax, dword [ebp + 0x14]
mov esi, ecx
jne 0x419272
push dword [ebp + 8]
call fcn.0055f40f
mov esi, eax
test esi, esi
je 0x41926d
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x419296
push eax
lea eax, [ebp - 0x10]
push 0x594714
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005539d5
pop esi
leave
ret 0x10
Function at 0x41a2f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
push edi
jne 0x41a31c
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00414776
pop ecx
jmp 0x41a3ad
cmp esi, 7
je 0x41a3ce
lea eax, [ebp - 0x304]
push 0x104
push eax
xor edi, edi
push dword [0x5b2ac0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.0052b790
add esp, 0x14
cmp dword [0x5b3070], ebx
jne 0x41a381
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041a51c
pop ecx
pop ecx
cmp esi, 8
jne 0x41a3b3
push ebx
push dword [ebp + 0x14]
call fcn.0041a4b4
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x41a4ad
push esi
call fcn.0048427f
pop ecx
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ecx], eax
call fcn.004843e8
pop ecx
jmp 0x41a4af
push 1
push dword [ebp + 0x14]
call fcn.0041a4b4
pop ecx
cmp eax, ebx
pop ecx
je 0x41a3d4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
jmp 0x41a3d4
mov edi, dword [0x5b2ac0]
cmp edi, ebx
je 0x41a49e
shl esi, 3
lea eax, [ebp - 0x100]
push dword [esi + 0x594a74]
push eax
call fcn.00484294
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
je 0x41a409
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push eax
call fcn.0048448f
pop ecx
pop ecx
push dword [esi + 0x594a70]
lea eax, [ebp - 0x100]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x41a49e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x41a49e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebx
jne 0x41a445
push dword [ebp + 8]
jmp 0x41a458
lea eax, [esi + 1]
push eax
call fcn.004868bd
mov ebx, eax
pop ecx
push dword [ebp + 8]
test ebx, ebx
jne 0x41a468
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp edi, dword [0x5b2ac0]
je 0x41a4ad
jmp 0x41a4a6
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push eax
push ebx
call fcn.004163ed
and byte [esi + ebx], 0
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp edi, dword [0x5b2ac0]
je 0x41a495
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, ebx
jmp 0x41a4af
cmp edi, dword [0x5b2ac0]
je 0x41a4ad
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a51c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
cmp dword [0x5b3070], 0
jne 0x41a616
cmp dword [0x594ab0], 0
je 0x41a616
push edi
push esi
push ebx
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push eax
call fcn.00484294
pop ecx
mov edi, str...ResourceEncoding
pop ecx
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.0048448f
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push str..DLL
push 0x5941b4
push eax
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push eax
call fcn.0052b910
mov esi, dword [sym.imp.USER32.dll_OemToCharA]
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41a60c
lea eax, [ebp - 0x31c]
push eax
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push dword [ebp + 8]
push str._s_s_s_s
push eax
call fcn.004844cc
add esp, 0x18
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push eax
call fcn.0041a618
pop ecx
lea eax, [ebp - 0x348]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a5bb
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop esi
pop edi
leave
ret

Function at 0x41a7ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
lea eax, [eax + eax*2]
push str.RCDATA
shl eax, 2
mov esi, dword [eax + 0x5947d4]
mov edi, dword [eax + 0x5947d8]
push esi
call fcn.004842d1
pop ecx
test eax, eax
pop ecx
jne 0x41a7da
push 0xa
jmp 0x41a7db
push esi
push edi
push dword [0x5b2ac0]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41a856
push esi
push dword [0x5b2ac0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41a856
push esi
push dword [0x5b2ac0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x41a817
push ebx
jmp 0x41a828
lea eax, [esi + 1]
push eax
call fcn.004868bd
mov edi, eax
pop ecx
test edi, edi
push ebx
jne 0x41a830
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x41a861
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push eax
push edi
call fcn.004163ed
and byte [esi + edi], 0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov eax, edi
jmp 0x41a863
push 0x40000007
call fcn.00401daf
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x41a981
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a0
push esi
push edi
push 0x49
call fcn.0043c434
cmp ax, 1
pop ecx
jne 0x41aad9
push 0x53
call fcn.0043c434
cmp ax, 1
pop ecx
je 0x41aad9
cmp word [0x5b3074], 0
mov edi, dword [ebp + 0x14]
jne 0x41aab8
lea eax, [ebp - 0x80]
push 0x3f
push eax
push 0x1c
call fcn.0043c053
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x3f
push eax
push 0x1d
call fcn.0043c053
add esp, 0xc
mov esi, 0x103
lea eax, [ebp - 0x184]
push esi
push eax
push 0x148
call fcn.0043c053
add esp, 0xc
lea eax, [ebp - 0x390]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jae 0x41aa24
push dword [ebp + 0x10]
lea eax, [ebp - 0x390]
push eax
call fcn.00529920
pop ecx
pop ecx
test edi, edi
je 0x41aa4f
cmp byte [edi], 0
je 0x41aa4f
lea eax, [ebp - 0x390]
push 0x5930f0
push eax
call fcn.00529930
pop ecx
lea eax, [ebp - 0x390]
pop ecx
push edi
push eax
call fcn.00529930
pop ecx
pop ecx
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.004844cc
add esp, 0xc
lea eax, [ebp - 0x184]
push esi
push eax
push 0x149
call fcn.0043c053
add esp, 0xc
lea eax, [ebp - 0x184]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 2
call fcn.0044d2a6
add esp, 0x18
sub eax, 0
je 0x41aad9
dec eax
dec eax
je 0x41aad9
dec eax
jne 0x41aab8
mov word [0x5b3074], 1
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x41aadd
mov ax, 1
pop edi
pop esi
leave
ret

Function at 0x41f981
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00456597
pop ecx
push eax
call fcn.00472e8e
pop ecx
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41f9da
cmp dword [ebp + 0x1c], 0
je 0x41f9b2
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41f9da
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jne 0x41f9e1
cmp dword [ebp + 0x14], ebx
je 0x41f9d6
push dword [ebp + 0x14]
call fcn.0048427f
test eax, eax
pop ecx
jbe 0x41f9d6
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov ebx, eax
test ebx, ebx
jne 0x41f9e1
mov eax, 0x40000001
jmp 0x41fa38
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41f9fd
mov eax, 0x40000002
jmp 0x41fa38
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push dword [ebp + 0xc]
push eax
call fcn.004163ed
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xbfffffff
add eax, 0x40000001
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x426682
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
push edi
call fcn.00401e1f
test eax, eax
jne 0x4266ed
push str.acroct.ini
push 1
push str.BlendThruClip
push str.WinFntSvr
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4266ed
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xc
push dword [edi + 8]
call esi
cmp eax, 1
jne 0x4266ed
push 0x58
push dword [edi + 8]
call esi
cmp eax, 0x258
jge 0x4266f5
push 0xe
push dword [edi + 8]
call esi
cmp eax, 3
je 0x4266f5
push 0x18
push dword [edi + 8]
call esi
cmp eax, 8
je 0x4266f5
xor ax, ax
jmp 0x4267ca
mov eax, dword [0x5b7bf4]
xor esi, esi
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
mov dword [0x5b7bf4], eax
lea eax, [ebp - 0x7c]
push esi
push eax
mov dword [ebp - 0x14], 0x5b7bf4
mov dword [ebp - 0x88], esi
call fcn.0052a5c0
pop ecx
test eax, eax
pop ecx
jne 0x4267c0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], 0x28
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], esi
push dword [ebp + 8]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x34], 0x4267cf
mov dword [ebp - 0x28], 0x42690f
mov dword [ebp - 0x24], 0x42691a
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.00498746
add esp, 0xc
cmp dword [ebp - 8], esi
je 0x4267b5
push dword [ebp - 8]
call fcn.00456597
mov ebx, eax
xor edi, edi
cmp ebx, esi
pop ecx
jle 0x4267ac
push edi
push dword [ebp - 8]
call fcn.00499de8
pop ecx
cmp eax, esi
pop ecx
je 0x4267a7
push eax
call fcn.00486983
pop ecx
inc edi
cmp edi, ebx
jl 0x426791
push dword [ebp - 8]
call fcn.00499da6
pop ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
push 0x32
pop eax
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4270a2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x88]
call fcn.0055f23b
mov edi, dword [eax + 8]
push str.PSPROCSET
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
xor ebx, ebx
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x4270f0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4270f0
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
jne 0x42711a
cmp dword [esi + 0x9c], ebx
lea edi, [esi + 0x9c]
jne 0x42710d
push ebx
push ebx
push 0x474a
call fcn.004171a9
add esp, 0xc
push 1
pop eax
mov dword [edi], eax
mov dword [esi + 0xa0], eax
jmp 0x427180
lea eax, [edi + 6]
push eax
call fcn.00529a10
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x42713e
push ebx
call fcn.00417359
pop ecx
mov dword [esi + 0xa0], 1
jmp 0x427180
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x427177
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ax, bx
jle 0x42715f
cmp ax, di
jle 0x427161
mov eax, edi
movsx eax, ax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x98]
call dword [ebp + 0x10]
add esp, 0x10
push dword [ebp + 8]
call fcn.00529d90
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42b557
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x5b3188], ebx
push esi
push edi
mov edi, 0xff
jne 0x42b5b8
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push ebx
push ebx
call esi
cmp eax, 0xa
jle 0x42b583
push dword [0x5b3188]
push ebx
call esi
jmp 0x42b586
push 0xa
pop eax
cmp eax, ebx
mov dword [0x5b318c], eax
je 0x42b5b0
shl eax, 2
push eax
call fcn.004868bd
cmp eax, ebx
pop ecx
mov dword [0x5b3188], eax
je 0x42b5b0
push eax
push dword [0x5b318c]
call esi
mov dword [0x5b318c], eax
cmp dword [0x5b3188], ebx
je 0x42b5fa
cmp dword [0x5b318c], ebx
je 0x42b5fa
xor esi, esi
cmp esi, dword [0x5b318c]
jae 0x42b5fa
mov eax, dword [0x5b3188]
push dword [eax + esi*4]
call fcn.0040941b
test al, al
pop ecx
jne 0x42b5f2
mov eax, dword [0x5b3188]
push dword [eax + esi*4]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx di, al
inc esi
cmp di, 0xff
je 0x42b5c2
cmp di, 0xff
jne 0x42b607
or ax, 0xffff
jmp 0x42b60a
mov ax, di
pop edi
pop esi
pop ebx
ret

Function at 0x42c2c2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 8], edi
je 0x42c39d
push esi
push ebx
push dword [ebp + 8]
call fcn.0043dcf8
mov esi, eax
pop ecx
cmp dword [esi + 0x58], edi
jne 0x42c2ef
mov dword [ebp - 8], 1
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xe
push dword [esi + 4]
call edi
mov ebx, eax
inc ebx
lea eax, [ebx + 1]
push eax
call fcn.004868bd
pop ecx
mov dword [ebp - 4], eax
push eax
push ebx
push 0xd
push dword [esi + 4]
call edi
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 0x58]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
movzx eax, bl
push eax
movzx eax, byte [esi + 0x51]
push eax
call fcn.0044d15e
add esp, 0x14
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0xb0
push dword [esi + 4]
call edi
push dword [ebp - 4]
mov dword [ebp + 0xc], eax
push 0
push dword [ebp + 8]
call fcn.0043ddc3
add esp, 0xc
push dword [ebp - 4]
call fcn.00486983
pop ecx
push 1
push ebx
push dword [ebp + 8]
call fcn.0042c117
add esp, 0xc
mov byte [esi + 0x51], bl
mov ebx, 0xb1
push 0
push 0
push ebx
push dword [esi + 4]
call edi
mov eax, dword [ebp + 0xc]
shr eax, 0x10
push eax
movzx eax, word [ebp + 0xc]
push eax
push ebx
push dword [esi + 4]
call edi
pop ebx
pop esi
pop edi
leave
ret
Function at 0x42c3a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push edi
push ebx
push ebx
push 0xe
push dword [eax + 4]
call esi
mov dword [ebp - 0xc], eax
inc eax
push eax
mov dword [ebp - 0x10], eax
call fcn.004868bd
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x42c49c
mov ecx, dword [ebp - 0xc]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
add ecx, eax
mov eax, dword [ebp + 8]
push 0xd
xor edi, edi
push dword [eax + 4]
mov dword [ebp - 0xc], ecx
call esi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jae 0x42c44a
mov ecx, dword [ebp - 4]
mov al, byte [ecx]
cmp al, 0x28
jne 0x42c408
mov edi, ecx
xor ebx, ebx
jmp 0x42c428
cmp al, 0x29
jne 0x42c414
test edi, edi
je 0x42c428
mov ebx, ecx
jmp 0x42c428
push eax
call fcn.004844e2
test ax, ax
pop ecx
jne 0x42c428
test ebx, ebx
je 0x42c428
xor ebx, ebx
xor edi, edi
push dword [ebp - 4]
call fcn.00483ced
pop ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x42c441
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 1]
jmp 0x42c444
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x42c3f4
test edi, edi
je 0x42c493
test ebx, ebx
je 0x42c493
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
sub ebx, dword [ebp - 8]
sub edi, dword [ebp - 8]
shl eax, 0x10
or eax, ecx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
push eax
push 0
push 0xd7
push dword [ebx + 4]
inc edi
call esi
movzx eax, ax
cmp eax, edi
jl 0x42c493
cmp eax, dword [ebp - 0xc]
jg 0x42c493
push dword [ebp - 0xc]
push edi
push 0xb1
push dword [ebx + 4]
jmp 0x42c4ab
push dword [ebp - 8]
call fcn.00486983
pop ecx
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [eax + 4]
call esi
pop edi
pop esi
pop ebx
leave
ret