joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 3
and esp, 0xfffffff8
add esp, 4
sub esp, 8
call fcn.004088ec
xor eax, eax
push str.YU_RIS_SAVEDATA_FILE_SETTING
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4103fc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401048
push dword [0x4103fc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x40104a
xor eax, eax
test eax, eax
je 0x401059
xor eax, eax
add esp, 8
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [0x4103c4], eax
call fcn.004010c4
push 0x410404
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push dword [ebp + 0x14]
call fcn.004023cc
pop ecx
push 0x410404
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
mov edx, dword [ebx + 0x4103fc]
add ebx, 4
test edx, edx
je 0x4010ac
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebx + 0x4103f8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 4
jle 0x40108c
mov ebx, dword [esp]
mov eax, dword [0x410424]
add esp, 8
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4012b8
Capabilities:
Create directory

Disassembly:
sub esp, 0x110
mov edx, eax
movsx ecx, byte [edx]
test ecx, ecx
je 0x4012fe
xor ecx, ecx
movsx eax, byte [edx]
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x108], esi
mov esi, edx
mov ebx, ecx
cmp eax, 0x5c
je 0x401307
mov byte [esp + ebx], al
movsx eax, byte [ebx + esi + 1]
inc ebx
test eax, eax
jne 0x4012de
mov ebx, dword [esp + 0x10c]
mov esi, dword [esp + 0x108]
xor eax, eax
add esp, 0x110
ret
push ebx
push esi
call fcn.00402948
add esp, 8
test eax, eax
je 0x40131b
movsx eax, byte [ebx + esi]
jmp 0x4012e3
xor eax, eax
mov byte [esp + ebx], al
lea edx, [esp]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movsx eax, byte [ebx + esi]
jmp 0x4012e3

Function at 0x401be0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push edi
push esi
sub esp, 0x800
mov esi, ecx
mov edi, eax
lea eax, [esp + 0x400]
push edi
push edx
push 0x41262c
push eax
call fcn.00402995
lea edx, [esp + 0x10]
push edi
push esi
push 0x41262c
push edx
call fcn.00402995
add esp, 0x20
lea eax, [esp + 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401c43
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x400]
lea eax, [esp]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
add esp, 0x800
pop esi
pop edi
ret

Function at 0x401e04
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x400
lea ecx, [esp]
push eax
push edx
push 0x41262c
push ecx
call fcn.00402995
add esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401e38
mov eax, 1
add esp, 0x400
ret
xor eax, eax
add esp, 0x400
ret
Function at 0x402140
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebp
sub esp, 0x420
lea eax, [esp]
push 0x105
push 0
push eax
call fcn.00408948
add esp, 0xc
lea eax, [esp]
push 0x105
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebp, [esp]
lea ecx, [esp + 0x210]
lea edx, [esp + 0x108]
xor eax, eax
push eax
push eax
push edx
push ecx
push ebp
call fcn.00402801
add esp, 0x14
lea esi, [esp + 0x318]
lea edi, [esp + 0x210]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x40219b
lea edi, [esp + 0x318]
lea edx, [esp + 0x108]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x4021bd
lea edx, [esp + 0x318]
movsx eax, byte [edx]
test eax, eax
je 0x4021fc
movzx ebp, al
movzx ecx, byte [ebp + 0x40c040]
inc ecx
movsx esi, cl
cmp esi, 2
je 0x40231e
cmp eax, 0x2f
jne 0x4021f4
mov byte [edx], 0x5c
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x4021d5
lea edi, [esp + 0x318]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x402215
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x40220d
mov ebp, eax
lea edi, [esp + 0x318]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x402230
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x402228
test eax, eax
jle 0x402264
xor esi, esi
lea ecx, [eax - 1]
movzx edi, byte [esp + esi + 0x318]
movzx edx, byte [edi + 0x40c040]
inc edx
movsx edx, dl
add esi, edx
cmp esi, ecx
jne 0x402260
cmp byte [esp + esi + 0x318], 0x5c
je 0x402314
cmp esi, eax
jl 0x402239
xor edx, edx
test edx, edx
je 0x402272
mov byte [esp + ebp + 0x317], 0
lea edi, [esp + 0x318]
mov edx, 0x412610
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x402288
mov esi, 0x40fec0
lea edi, [esp + 0x318]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x40229e
mov edi, 0x40fec0
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x4022bf
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x4022b7
test eax, eax
jg 0x4022e3
xor eax, eax
push eax
push 0x41202c
push 0x412614
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add esp, 0x420
pop ebp
pop esi
pop edi
ret
xor eax, eax
push eax
push 0x1a
push 0x410100
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
push eax
push 5
push 0x410220
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, 1
add esp, 0x420
pop ebp
pop esi
pop edi
ret
mov edx, 1
jmp 0x402266
add edx, 2
jmp 0x4021f5
Function at 0x4023cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.00402140
call fcn.00401f28
movzx eax, al
mov dword [0x4103cc], eax
test eax, eax
jle 0x402407
cmp eax, 0x14
jge 0x402407
xor eax, eax
push eax
push 0x41202c
push section..data1
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffff
ret
call fcn.004020a8
test eax, eax
je 0x402413
xor eax, eax
ret
mov dword [0x4103f8], 1
push 0x40fec0
push 0x412034
push 0x40fac0
call fcn.00402995
add esp, 0xc
push 0x40fac0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40244e
mov dword [0x4103f8], 0
push 0x40fec0
push 0x412040
push 0x40fac0
call fcn.00402995
add esp, 0xc
push 0x40fac0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40247f
mov dword [0x4103f8], 0
xor eax, eax
push eax
push 0x401168
push eax
push 0x412050
push dword [0x4103c4]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
xor eax, eax
ret

Function at 0x406830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40edf8
cmp edx, dword [eax]
je 0x406852
add eax, 8
inc ecx
cmp eax, 0x40ee88
jl 0x406843
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40edf8]
jne 0x406980
mov eax, dword [0x41048c]
cmp eax, 1
je 0x40695a
test eax, eax
jne 0x406883
cmp dword [0x40c7a4], 1
je 0x40695a
cmp edx, 0xfc
je 0x406980
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4068ba
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407310
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404aa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4068fd
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404aa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b530
push edi
call fcn.00407190
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407310
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407320
lea eax, [ebp - 0xa0]
push 0x40b510
push eax
call fcn.00407320
push dword [esi + 0x40edfc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407320
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004083cd
add esp, 0x2c
pop edi
jmp 0x406980
lea eax, [ebp + 8]
lea esi, [esi + 0x40edfc]
push 0
push eax
push dword [esi]
call fcn.00404aa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40ae14
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword ds:[eax + 0x3c]
mov edx, eax
push dword ds:[ecx + edx + 0x78]
push edx
pop edx
pop eax
add eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x40ae42
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jae 0x40aef5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0x14]
cmp cl, byte [edx]
jne 0x40aeaf
cmp byte [ebp - 0x19], 0
je 0x40aea6
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 1]
mov byte [ebp - 0x1a], cl
mov edx, dword [ebp - 0x14]
cmp cl, byte [edx + 1]
jne 0x40aeaf
add dword [ebp - 0x18], 2
add dword [ebp - 0x14], 2
cmp byte [ebp - 0x1a], 0
jne 0x40ae72
mov dword [ebp - 0x20], 0
jmp 0x40aeb7
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x40aef0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dx, word [eax + ecx*2]
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 4]
mov ecx, dword ds:[eax + 0x1c]
add ecx, dword [ebp + 8]
movzx edx, word [ebp - 0x10]
mov eax, dword ds:[ecx + edx*4]
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
jmp 0x40ae39
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4127f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x412849
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x412976
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
xor eax, eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push eax
push eax
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
cmp ebx, 0x20
ja 0x412a62
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x80000000
push str..htm
push edi
call fcn.004127f0
test eax, eax
jne 0x412a62
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x20c]
push str._shellopencommand
push eax
call esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004127f0
test eax, eax
jne 0x412a62
mov ebx, dword [sym.imp.MSVCRT.dll__mbsstr]
lea eax, [ebp - 0x20c]
push 0x452a2c
push eax
call ebx
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x412a3f
lea eax, [ebp - 0x20c]
push 0x452a28
push eax
call ebx
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x412a3f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x20d]
jmp 0x412a42
and byte [edi], 0
push 0x452104
push edi
call esi
push dword [ebp + 8]
push edi
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ebx, eax
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 8

Function at 0x416eb2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 8]
push 0x452644
movzx eax, word [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x416ed5
xor eax, eax
jmp 0x416efb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x416ed1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x416ed1
push 5
push eax
call dword [sym.imp.WINMM.dll_sndPlaySoundA]
neg eax
sbb eax, eax
neg eax
pop esi
ret 4
Function at 0x417f9e
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x441d20
call fcn.0043e2c0
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
inc eax
inc ebx
sub ebx, 2
dec eax
inc ebx
push str.VirtualAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
lea esi, [ecx + eax + 0x18]
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
jge 0x4180c2
cmp dword [esi + 0x10], 0
jne 0x41803c
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x4180b4
mov eax, dword [esi + 0xc]
push 4
add eax, dword [ebp - 0x1c]
push 0x1000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
push 0
push eax
mov dword [esi + 8], eax
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x4180b4
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 0xc]
push 4
add eax, dword [ebp - 0x1c]
push 0x1000
push dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
inc eax
inc ebx
sub ebx, 2
dec eax
inc ebx
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push 0x44d270
push eax
mov dword [ebp - 0x24], 0x55
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 8]
push eax
push dword [ebp - 0x20]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, 0x4180a4
ret
inc dword [ebp - 0x14]
add esi, 0x28
mov dword [ebp - 0x18], esi
jmp 0x417ff3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4207ae
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push edi
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
mov dword [ebp - 4], edi
je 0x420843
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x420837
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebp - 8], eax
je 0x42082f
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call edi
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
push 0xcc0020
push eax
push ecx
sub edx, eax
push dword [ebp - 4]
mov eax, dword [esi + 8]
sub eax, ecx
push edx
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 8]
push ebx
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
push dword [ebp - 4]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
mov eax, dword [ebp - 8]
pop edi
leave
ret 4

Function at 0x42604c
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4260b4
push 1
mov esi, 0x94
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x42610e
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x426097
push 5
jmp 0x426105
cmp eax, 5
jne 0x426106
cmp dword [edi + 8], 0
jne 0x4260a6
push 6
jmp 0x426105
cmp eax, 5
jne 0x426106
cmp dword [edi + 8], ebx
jne 0x426106
push 7
jmp 0x426105
cmp al, 4
jae 0x4260bc
xor ebx, ebx
jmp 0x42610e
push 2
mov esi, 0x94
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x42610e
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x426106
cmp dword [edi + 8], 0xa
jne 0x4260f9
push 3
jmp 0x426105
cmp eax, 4
jne 0x426106
cmp dword [edi + 8], 0x5a
jne 0x426106
push eax
pop ebx
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x428043
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x42805b
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
push 8
pop eax
ret
Function at 0x430758
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
lea eax, [ebp - 0xe8]
mov esi, ecx
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
and byte [ebp - 0x21], 0
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 4]
add eax, 0x90
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push dword [eax + 0xcc]
push dword [ebp + 8]
call ebx
push 1
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffff0
mov dword [ebp - 8], eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
xor esi, esi
and ecx, 2
cmp cl, 2
jne 0x4307f5
push 2
pop esi
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x430802
push 1
pop esi
mov edx, eax
mov ecx, 0x200
and edx, ecx
cmp edx, ecx
jne 0x430812
or esi, 0x24
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x43081f
or esi, 0x20
mov ecx, eax
and cx, 0x80
cmp cl, 0x80
jne 0x430831
or esi, 0x800
and eax, 0xb
cmp al, 0xb
jne 0x43083b
or esi, 0x20
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0xe8]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x10]
push esi
call ebx
push dword [ebp - 0xc]
push esi
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x433280
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x10]
mov eax, dword [esi + 0xd8]
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.0043a776
push 0
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 1
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
call fcn.004250c6
add esp, 0x14
lea eax, [ebp - 0xd4]
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
and byte [ebp - 0xd], 0
add eax, 0x398
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 8], eax
call ebx
mov esi, dword [esi + 4]
mov dword [ebp + 8], eax
push dword [esi + 0x3d4]
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push edi
call esi
push 1
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x25
mov dword [ebp - 0xc], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd4]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0xc]
push edi
call esi
push dword [ebp + 8]
push edi
call ebx
push dword [ebp - 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0xc]
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [ebp - 4], 0
je 0x433377
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4379ab
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x47b610]
push ebx
xor ebx, ebx
push edi
cmp eax, ebx
jne 0x4379d1
cmp dword [0x47b608], ebx
jne 0x4379d1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp 0x437b90
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xfffffff2
jne 0x437afc
mov edi, dword [ebp + 8]
cmp dword [edi + 0x6a0], ebx
je 0x4379ef
xor eax, eax
jmp 0x437ba4
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
mov esi, 0x47b5e8
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x437a4e
push dword [0x47b608]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
or dword [0x463534], 0xffffffff
or dword [0x46353c], 0xffffffff
or dword [0x463538], 0xffffffff
push ebx
push 1
mov dword [0x47b608], ebx
push dword [ebp + 0xc]
push edi
call fcn.00434d7d
add esp, 0x10
jmp 0x437af4
cmp dword [0x463534], ebx
jne 0x437a6b
push dword [ebp - 4]
lea ebx, [edi + 8]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00436a0e
jmp 0x437a81
push dword [ebp - 4]
lea ebx, [edi + 0x354]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00436a98
add esp, 0x14
cmp dword [0x46353c], eax
mov dword [0x463538], eax
je 0x437aef
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push ebx
movsd dword es:[edi], dword [esi]
call fcn.00436aca
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push eax
push edi
push esi
push ebx
call fcn.004369e1
add esp, 0x14
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x463538]
mov dword [0x46353c], eax
xor eax, eax
pop esi
jmp 0x437ba4
cmp ecx, 0xfffd
jne 0x437b29
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push 0x37
push 0xfffe
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x47b610], eax
jmp 0x4379e8
cmp ecx, 0xfffe
jne 0x437b8c
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
or eax, ecx
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00436fd7
mov eax, dword [0x463540]
add esp, 0x10
cmp eax, 0xffffffff
je 0x4379e8
push ebx
push eax
push dword [0x47b60c]
push dword [ebp + 0xc]
call fcn.00436863
add esp, 0x10
jmp 0x4379e8
push dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 8]
push 0x113
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop ebx
leave
ret