joyce8/EMBER2024-capa huggingface dataset:
Function at 0x348a91d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0x34893850]
xor eax, esp
mov dword [esp + 0x78], eax
push ebp
mov ebp, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0x88]
test esi, esi
push edi
mov edi, edx
je 0x348a9236
movzx edx, word [edi + 0xea]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x18]
push 0
push 0
push edx
mov edx, dword [edi + 0x10c]
push ecx
push edx
call fcn.348a4a3c
test eax, eax
jge 0x348a929e
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.348c86f8
add esp, 0x7c
ret 0x14
mov eax, ecx
push ebx
lea ebx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x348a923c
sub eax, ebx
cmp eax, 0x40
pop ebx
ja 0x348a93d4
push 0x41
push ecx
lea eax, [esp + 0x48]
push eax
call fcn.348a49f9
test eax, eax
je 0x348a93d4
lea ecx, [esp + 0x3c]
push ecx
movzx ecx, word [edi + 0xe8]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push ecx
mov ecx, dword [edi + 0x10c]
push eax
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x58]
push edx
push eax
push ecx
call fcn.348a4b13
test eax, eax
jl 0x348a93d9
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x348a93d4
xor eax, eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x48]
push edx
push eax
push ecx
mov dword [esp + 0x20], 0x28
call fcn.34899c25
test eax, eax
je 0x348a92f5
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
test esi, esi
je 0x348a930f
test byte [esi + 0x65], 8
mov dword [esp + 0x2c], 6
jne 0x348a930f
mov dword [esp + 0x2c], 7
mov eax, dword [edi + 0x40]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push ecx
call fcn.34899c25
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x44]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.34899c25
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x5c]
push eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.34899c25
movzx esi, word [eax]
mov ecx, dword [edi + 0x4c]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
mov dword [esp + 0x24], esi
call fcn.34899c25
cmp dword [esp + 0x94], 0
mov eax, dword [eax]
jne 0x348a939e
cmp esi, 1
jne 0x348a939e
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.348a8dff
mov eax, dword [esp + 0x9c]
cmp eax, 0x28
jbe 0x348a93af
mov eax, 0x28
push eax
lea eax, [esp + 0x18]
push eax
push ebp
call sub.msvcr80.dll_memcpy
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.348c86f8
add esp, 0x7c
ret 0x14
mov eax, 0xfffffae7
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.348c86f8
add esp, 0x7c
ret 0x14
Function at 0x348aad29
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
mov eax, dword [0x34893850]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
xor eax, eax
or esi, 0xffffffff
cmp ebp, 5
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
je 0x348aae08
cmp ebp, 6
ja 0x348aae08
cmp ebp, 1
mov edx, dword [edi + 0x110]
mov dword [esp + 0x14], edx
je 0x348aad83
cmp ebp, 2
je 0x348aad83
mov edx, 1
jmp 0x348aad85
xor edx, edx
test ecx, ecx
je 0x348aae04
cmp byte [ecx], al
je 0x348aae04
cmp ebp, 6
je 0x348aae26
test edx, edx
je 0x348aae08
push 0x41
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.348a49f9
test eax, eax
je 0x348aadea
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
movzx edx, word [edi + 0xec]
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
call fcn.348a4b13
mov esi, eax
test esi, esi
jl 0x348aae0d
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x348aae22
pop edi
pop esi
pop ebp
mov eax, 0xfffffa1d
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.348c86f8
add esp, 0x5c
ret 0x18
test edx, edx
je 0x348aae26
mov eax, 0xfffffc15
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.348c86f8
add esp, 0x5c
ret 0x18
mov ecx, dword [esp + 0x10]
jmp dword [ebp*4 + 0x348aaf40]
Function at 0x348c49c3
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
push 0
shl eax, 0xb
push eax
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x348c4a02
movzx edx, word [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 8]
push ecx
push edx
push eax
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
movzx eax, word [esp + 4]
pop esi
pop ecx
ret 0x10

Function at 0x348c4a0c
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0xd
call fcn.348bb033
cmp eax, 0xffffff9c
jne 0x348c4a1d
pop ecx
ret 0xc
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
push 0
shl eax, 0xb
push eax
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x348c4a56
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 8]
push ecx
push 0x800
push edx
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x348c4a60
call fcn.348c47da
pop esi
pop ecx
ret 0xc
mov eax, dword [esp + 4]
sub eax, 0x800
neg eax
sbb eax, eax
and eax, 0xfffffc06
pop esi
pop ecx
ret 0xc

Function at 0x348c4a77
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0xe
call fcn.348bb033
cmp eax, 0xffffff9c
jne 0x348c4a88
pop ecx
ret 0x10
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push 0
push 0
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x348c4aac
call fcn.348c47da
pop edi
pop ecx
ret 0x10
mov edx, dword [esp + 0x14]
push esi
movzx esi, word [esp + 0x1c]
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push edi
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x348c4ad5
call fcn.348c47da
pop esi
pop edi
pop ecx
ret 0x10
mov eax, dword [esp + 8]
sub eax, esi
neg eax
sbb eax, eax
pop esi
and eax, 0xfffff8f0
pop edi
pop ecx
ret 0x10

Function at 0x348c4c40
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0xd
call fcn.348bb033
cmp eax, 0xffffff9c
jne 0x348c4c51
pop ecx
ret 0xc
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
shl eax, 6
push 0
sub eax, 0x40
push eax
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x348c4c8a
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 8]
push ecx
push 0x40
push edx
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x348c4c94
call fcn.348c47da
pop esi
pop ecx
ret 0xc
mov eax, dword [esp + 4]
sub eax, 0x40
neg eax
sbb eax, eax
and eax, 0xfffffc06
pop esi
pop ecx
ret 0xc
Function at 0x348c4ca9
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0xe
call fcn.348bb033
cmp eax, 0xffffff9c
jne 0x348c4cba
pop ecx
ret 0xc
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
shl eax, 6
push 0
sub eax, 0x40
push eax
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x348c4cf3
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 8]
push ecx
push 0x40
push edx
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x348c4cfd
call fcn.348c47da
pop esi
pop ecx
ret 0xc
mov eax, dword [esp + 4]
sub eax, 0x40
neg eax
sbb eax, eax
and eax, 0xfffff8f0
pop esi
pop ecx
ret 0xc

Function at 0x348c4de9
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x34893850]
xor eax, esp
mov dword [esp + 0x104], eax
cmp dword [esp + 0x110], 0x104
push esi
mov esi, dword [esp + 0x110]
jae 0x348c4e31
test esi, esi
je 0x348c4e58
mov byte [esi], 0
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.348c86f8
add esp, 0x108
ret 8
lea eax, [esp + 4]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x348c4e58
push esi
push 0
push 0x34893218
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.348c86f8
add esp, 0x108
ret 8

Function at 0x348c86f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x34893850]
jne 0x348c8aa0
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x348ca3c8], eax
mov dword [0x348ca3c4], ecx
mov dword [0x348ca3c0], edx
mov dword [0x348ca3bc], ebx
mov dword [0x348ca3b8], esi
mov dword [0x348ca3b4], edi
mov word [0x348ca3e0], ss
mov word [0x348ca3d4], cs
mov word [0x348ca3b0], ds
mov word [0x348ca3ac], es
mov word [0x348ca3a8], fs
mov word [0x348ca3a4], gs
pushfd
pop dword [0x348ca3d8]
mov eax, dword [ebp]
mov dword [0x348ca3cc], eax
mov eax, dword [ebp + 4]
mov dword [0x348ca3d0], eax
lea eax, [ebp + 8]
mov dword [0x348ca3dc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x348ca318], 0x10001
mov eax, dword [0x348ca3d0]
mov dword [0x348ca2cc], eax
mov dword [0x348ca2c0], 0xc0000409
mov dword [0x348ca2c4], 1
mov eax, dword [0x34893850]
mov dword [ebp - 0x328], eax
mov eax, dword [0x348ca218]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x348ca310], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34893890
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x348ca310], 0
jne 0x348c8b90
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x348de37d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x348932c4]
jne 0x348de977
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x348e8ec8], eax
mov dword [0x348e8ec4], ecx
mov dword [0x348e8ec0], edx
mov dword [0x348e8ebc], ebx
mov dword [0x348e8eb8], esi
mov dword [0x348e8eb4], edi
mov word [0x348e8ee0], ss
mov word [0x348e8ed4], cs
mov word [0x348e8eb0], ds
mov word [0x348e8eac], es
mov word [0x348e8ea8], fs
mov word [0x348e8ea4], gs
pushfd
pop dword [0x348e8ed8]
mov eax, dword [ebp]
mov dword [0x348e8ecc], eax
mov eax, dword [ebp + 4]
mov dword [0x348e8ed0], eax
lea eax, [ebp + 8]
mov dword [0x348e8edc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x348e8e18], 0x10001
mov eax, dword [0x348e8ed0]
mov dword [0x348e8dcc], eax
mov dword [0x348e8dc0], 0xc0000409
mov dword [0x348e8dc4], 1
mov eax, dword [0x348932c4]
mov dword [ebp - 0x328], eax
mov eax, dword [0x348e42d4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x348e8e10], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34893304
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x348e8e10], 0
jne 0x348dea67
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0xc02000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xc0200a
jmp 0xc0400f
jmp fcn.00971058

Function at 0x401041
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403330], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [0x403334], eax
push 0xff
push 0x403200
push 0
call sub.kernel32.dll_GetModuleFileNameA
push 0x403200
call sub.kernel32.dll_lstrlenA
mov esi, dword [0x403334]
cmp byte [eax + esi + 2], 0
je 0x401091
add eax, 3
mov ecx, esi
add ecx, eax
push ecx
push section..data
call sub.kernel32.dll_lstrcpyA
push 0x403100
push 0x403200
call section..text
push 0x403100
push 0x403200
call sub.kernel32.dll_lstrcpyA
push str._stuffdiel.exe
push 0x403200
call sub.kernel32.dll_lstrcatA
push str._stuff_
push 0x403100
call sub.kernel32.dll_lstrcatA
push 5
push 0x403100
push section..data
push 0x403200
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x4010ff
push 0x10
push str.Cannot_open
push 0x403200
push 0
call sub.user32.dll_MessageBoxA
push eax
call sub.kernel32.dll_ExitProcess
int3
Function at 0x654c2250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x654c22ab
cmp byte [esi + ebx - 1], 0xa
je 0x654c227f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x654c3118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4024d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cddbb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5010c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x4025d2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x4025dc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049f7ce
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x516984]
cmp eax, dword [ecx + 4]
jg 0x4025e6
mov dword [edi + 0x30], 0x501ebc
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x402dc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
push 0x516984
call fcn.0049fae7
add esp, 4
cmp dword [0x516984], 0xffffffff
jne 0x4025aa
push 0x4d8e60
mov dword [0x501ebc], 0x64
mov byte [0x501ec0], 0
call fcn.0049fa56
push 0x516984
call fcn.0049fa96
add esp, 8
jmp 0x4025aa

Function at 0x4047d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40482b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40482b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40481a
cmp esi, edx
jae 0x40482b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404808
cmp esi, edx
jae 0x40482b
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40d840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xec], 0
je 0x40d894
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x40d894
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40d894
mov eax, dword [esi + 0xe8]
push edi
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
test eax, eax
je 0x40d893
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x40d8ae
mov dword [esi + 0xe8], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, dword [esi + 0x64]
test eax, eax
je 0x40d8cb
mov dword [esi + 0x64], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x40d8df
mov dword [esi + 0x68], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x40d8f3
mov dword [esi + 0x6c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x40d916
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x40d916
mov dword [esi + 0x60], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x412e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
sub edx, dword [esi + 0x58]
sub ebx, dword [esi + 0x5c]
mov dword [eax], 0
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x168]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xba2e8ba3
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0
test eax, eax
je 0x412f5b
xor edi, edi
push ebx
lea eax, [ecx + 8]
push edx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ebx, dword [ebp + 0x14]
test eax, eax
je 0x412f25
mov eax, dword [esi + 0x168]
cmp dword [eax + edi + 0x20], 0
je 0x412f25
push 1
mov dword [ebx], 1
mov eax, dword [esi + 0x168]
push 0
push 0
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x16c]
add edi, 0x2c
mov ecx, dword [esi + 0x168]
sub eax, ecx
mov edx, dword [esp + 0xc]
sar eax, 2
inc edx
imul eax, eax, 0xba2e8ba3
mov dword [esp + 0xc], edx
cmp edx, eax
jae 0x412f56
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x412ee3
cmp dword [ebx], 0
jne 0x412f68
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4220c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5010c0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 0x5f7
je 0x4221c0
cmp eax, 0x5f8
je 0x4221c0
cmp eax, 0x201
jne 0x422104
mov ecx, dword [esi + 0x170]
push 2
jmp 0x42224a
cmp eax, 0x202
jne 0x422252
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esi]
mov dword [esp + 0xc], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 4]
add eax, ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x170]
test eax, eax
mov eax, dword [ecx]
je 0x4221b9
push 1
call dword [eax + 0x158]
push ecx
mov ecx, esi
call fcn.00420ab0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret 0x14
push 0
jmp 0x42224c
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov edx, dword [esp + 0x10]
push dword [esp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
push dword [esp + 8]
add eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x170]
test eax, eax
je 0x422248
push 1
jmp 0x42224a
push 0
mov eax, dword [ecx]
call dword [eax + 0x158]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x423110
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf735
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5010c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x194], 0
je 0x42318d
call fcn.00404f80
test eax, eax
je 0x423263
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x4e5478
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004048d0
test al, al
jne 0x423243
push 0
push 0x4e5478
mov ecx, esi
call fcn.00404b80
jmp 0x423243
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x423263
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x423259
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4231e2
push ebx
lea ecx, [ebp - 0x10]
call fcn.00404ae0
mov esi, dword [ebp - 0x10]
push ebx
push esi
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x423201
push dword [esi - 8]
push esi
call fcn.004abf56
add esp, 8
test eax, eax
js 0x423259
cmp eax, dword [esi - 8]
jg 0x423259
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edi, [esi - 0x10]
mov word [esi + eax*2], cx
push edi
call fcn.00404680
mov esi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x423243
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00404d50
push 0x80004005
call fcn.00404d50
int3