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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f6c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1006a188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x1001a833
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x1001a833
mov esi, dword [esi + 4]
mov cx, word [edi]
cmp cx, word [esi + 8]
jne 0x1001a7e6
mov edx, dword [ebp + 0x10]
push 0xc
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1003443f
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x1001a863
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x1001a87a
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x1001a89c
cmp eax, esi
jne 0x1001a882
mov dword [ecx], edi
jmp 0x1001a89c
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1001a89c
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.1001bbb0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001bc90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
mov ecx, dword [ebx + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x1001bceb
cmp eax, edi
jne 0x1001bce3
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1001bcf3
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1001bcf3
cmp eax, edi
jne 0x1001bcf6
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1003443f
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10020019
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x407520
Capabilities:
Enumerate files on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x114c
call fcn.00784a90
mov eax, dword [0x87fbc0]
xor eax, esp
mov dword [esp + 0x1148], eax
push ebx
push esi
push edi
push str.C:ProgramDataMicrosoftWindowsStart_MenuPrograms
push 0x84fe00
lea eax, [esp + 0x158]
xor esi, esi
push 0x1000
push eax
call fcn.0040bfd0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4075d2
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x10]
inc esi
push eax
push edi
call ebx
test eax, eax
jne 0x407582
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, str.ProgramData_
mov ecx, 0x889730
call fcn.00409dd0
push esi
mov ecx, eax
call fcn.00408070
push eax
call fcn.0040a070
add esp, 4
cmp esi, 0xc
jl 0x407601
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1148]
xor ecx, esp
call fcn.00783b00
mov esp, ebp
pop ebp
ret
mov edx, 0x84fe08
mov ecx, 0x889670
call fcn.00409dd0
push eax
call fcn.0040a070
mov ecx, dword [esp + 0x1158]
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00783b00
mov esp, ebp
pop ebp
ret
push 1
call fcn.0079e370
int3
Function at 0x407610
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xf3cd4
call fcn.00784a90
mov eax, dword [0x87fbc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, ecx
call ebx
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0xf3cd0], 0
push 0
lea eax, [ebp - 0xf3cd0]
push eax
push edi
lea eax, [ebp - 0xf3ccc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
je 0x40770d
cmp edi, 0x40
jb 0x407700
movaps xmm2, xmmword [0x8529e0]
lea esi, [ebp - 0xf3cac]
mov ecx, edi
lea ebx, [ebp - 0xf3c9c]
and ecx, 0x3f
mov edx, edi
sub edx, ecx
lea ecx, [ebp - 0xf3ccc]
movups xmm0, xmmword [ecx + eax]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ecx + eax], xmm1
movups xmm0, xmmword [ebp + eax - 0xf3cbc]
movaps xmm1, xmm2
xorps xmm0, xmm2
movups xmmword [ebp + eax - 0xf3cbc], xmm0
movups xmm0, xmmword [esi + eax]
xorps xmm0, xmm2
movups xmmword [esi + eax], xmm0
movups xmm0, xmmword [ebx + eax]
xorps xmm1, xmm0
movups xmmword [ebx + eax], xmm1
add eax, 0x40
cmp eax, edx
jb 0x4076b5
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
jae 0x40770d
xor byte [ebp + eax - 0xf3ccc], 0x9c
inc eax
cmp eax, edi
jb 0x407700
push 0x40
push 0x3000
push 0xf3cc8
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
lea eax, [ebp - 0xf3ccc]
push 0xf3cc8
push eax
push edi
call fcn.0078c0d0
add esp, 0xc
call dword [0x88c8b8]
push 0
push 0
push 1
push 0
mov esi, eax
call ebx
mov ecx, dword [0x88c8bc]
mov ebx, eax
push 0
push 0
push 0x64
push 0
push edi
push esi
lea eax, [ebp - 0xf3cd4]
push eax
call ecx
test eax, eax
je 0x40778b
mov eax, dword [0x88c8c0]
push 0xffffffffffffffff
push ebx
call eax
test eax, eax
je 0x40778b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WaitForSingleObject_failed___d__n
call fcn.0040bf60
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00783b00
mov esp, ebp
pop ebp
ret
Function at 0x40b740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x40b769
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40b77f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40b776
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x40b7b2
nop
cmp esi, ecx
jae 0x40b776
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x40b7a0
cmp esi, ecx
jae 0x40b776
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40bb10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7d87e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x87fbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
call fcn.004f25d0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x40bc4e
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40bc4e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40bb8a
xor esi, esi
jmp 0x40bbd2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40bbd2
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x40bbc2
nop dword [eax]
cmp esi, ecx
jae 0x40bbc6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x40bbb0
cmp esi, ecx
jb 0x40bbca
xor esi, esi
jmp 0x40bbd2
xor eax, eax
cmp word [esi], ax
cmove esi, eax
test esi, esi
je 0x40bc4e
movzx eax, word [esi]
lea ecx, [esi + 2]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x40bc64
mov ebx, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x40bc14
push edi
mov ecx, ebx
call fcn.0040b960
movzx eax, word [esi]
push 0
push 0
push edi
push dword [ebx]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
mov ecx, ebx
call fcn.0040ba30
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040bd10
int3
Function at 0x424250
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
cmp dword [0x885548], 0
je 0x42428a
mov esi, esp
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00784930
nop
cmp dword [0x88553c], 0
je 0x42429e
mov dword [ebp - 4], 1
jmp 0x4242d3
cmp dword [0x885548], 0
jne 0x4242b4
call fcn.00424520
test eax, eax
jne 0x4242b4
jmp 0x4242d3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x87f00c]
push ecx
call fcn.00423df0
test eax, eax
jne 0x4242cc
jmp 0x4242d3
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x42431a
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7f
je 0x424309
cmp dword [ebp - 8], 0x7e
je 0x424309
cmp dword [ebp - 8], 0x78
je 0x424309
cmp dword [ebp - 8], 1
je 0x424309
cmp dword [ebp - 8], 0x32
jne 0x42431a
mov dword [0x88553c], 1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 4
Function at 0x4366e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x43679a
call fcn.00490e20
mov dword [ebp - 0x10], eax
mov esi, esp
push 0xf0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43679a
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43676a
xor eax, eax
jmp 0x4367d5
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43679a
push 0x11ad
push 0x7f9dc0
call fcn.004053b0
test eax, eax
je 0x43679a
int3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.005ed6c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0
je 0x4367d2
cmp dword [ebp - 0xc], 0
je 0x4367d2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0043f800
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00784930
nop
mov eax, dword [ebp - 0x18]
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 4
Function at 0x436cc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
jne 0x436d09
push 0x4a7
push 0x7f9dc0
call fcn.004053b0
test eax, eax
je 0x436d09
int3
push 0x850710
mov ecx, dword [ebp + 0xc]
call fcn.00411dd0
nop
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
jne 0x436d8d
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x436d8b
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 1
mov esi, esp
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00436980
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00784930
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.0042f0c0
nop
jmp 0x436daf
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00447ad0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x436daf
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004378f0
nop
mov ecx, dword [ebp + 0xc]
call fcn.00411bc0
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8
Function at 0x4378f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
jne 0x437943
push 0x497
push 0x7f9dc0
call fcn.004053b0
test eax, eax
je 0x437943
int3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jne 0x4379a8
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00436980
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00784930
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.0042f0c0
nop
jmp 0x4379ee
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x94]
mov dword [ebp - 0x18], edx
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edi, esp
mov ecx, dword [ebp - 0x1c]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x14]
call dword [ebp - 0x1c]
cmp esi, esp
call fcn.00784930
nop
pop edi
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 4
Function at 0x4486c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7da11d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x87fbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, esp
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
jne 0x44873e
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x74], 0
jne 0x44873e
push 0xfc
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCwinocc.cpp
call fcn.004053b0
test eax, eax
je 0x44873e
int3
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x74], 0
jne 0x44876f
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00784930
jmp 0x4487ff
lea ecx, [ebp - 0x18]
call fcn.0040be70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x94]
mov dword [ebp - 0x28], edx
mov esi, esp
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edi, esp
mov ecx, dword [ebp - 0x2c]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x24]
call dword [ebp - 0x2c]
cmp esi, esp
call fcn.00784930
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040b730
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00423dc0
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
call fcn.00447390
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040bc80
mov eax, dword [ebp - 0x20]
push edx
mov ecx, ebp
push eax
lea edx, [0x448830]
call fcn.007848d0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8
Function at 0x4780e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0
jne 0x47810c
call fcn.00490e20
mov dword [ebp + 0xc], eax
mov esi, esp
push 0x7fc010
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x478138
xor eax, eax
jmp 0x4781d5
mov esi, esp
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x47815c
xor eax, eax
jmp 0x4781d5
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47818f
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00784930
xor eax, eax
jmp 0x4781d5
mov esi, esp
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.00784930
push eax
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 4]
call fcn.004781f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0043f800
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00784930
mov eax, dword [ebp - 0x14]
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8
Function at 0x487f70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push ecx
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0
je 0x487f9b
mov dword [ebp - 0x1c], 1
jmp 0x487fa2
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x487fc2
push 0xc4a
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxdockablepane.cpp
call fcn.004053b0
test eax, eax
je 0x487fc2
int3
cmp dword [ebp - 8], 0
jne 0x487fce
call fcn.004d7c10
nop
xor edx, edx
jne 0x487f8c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34c]
call fcn.0041c4c0
test eax, eax
je 0x487ff9
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x34c]
call fcn.0041c4c0
mov edx, dword [ebp + 0xc]
cmp dword [edx], eax
je 0x488000
xor eax, eax
jmp 0x48812d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x64]
and edx, 1
je 0x488025
push 0xc52
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxdockablepane.cpp
call fcn.004053b0
test eax, eax
je 0x488025
int3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 1
je 0x488049
cmp dword [ebp - 0x20], 2
je 0x488052
cmp dword [ebp - 0x20], 3
je 0x4880b5
jmp 0x4880bc
mov dword [ebp - 0x10], 0x3ea0
jmp 0x4880bc
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp esi, esp
call fcn.00784930
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0x3ea1
movsx eax, word [ebp - 0x14]
and eax, 0x8000
je 0x4880b3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [edx + 0x348]
mov dword [ebp - 0x24], eax
mov edi, esp
mov ecx, dword [ebp - 0x24]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 4]
call dword [ebp - 0x24]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x4880b3
mov dword [ebp - 0x10], 0x3ea4
jmp 0x4880bc
mov dword [ebp - 0x10], 0x428e
cmp dword [ebp - 0x10], 0
jne 0x4880c6
xor eax, eax
jmp 0x48812d
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x887a6c
call fcn.0040bb10
test eax, eax
je 0x4880e1
mov dword [ebp - 0x28], 1
jmp 0x4880e8
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x488108
push 0xc72
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxdockablepane.cpp
call fcn.004053b0
test eax, eax
je 0x488108
int3
cmp dword [ebp - 0x18], 0
jne 0x488114
call fcn.004d7c10
nop
xor ecx, ecx
jne 0x4880c6
mov ecx, 0x887a6c
call fcn.0040b730
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, 1
pop edi
pop esi
add esp, 0x28
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0xc