joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42fd08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x20]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x64], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CWindowDC::CWindowDC
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0x432238
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
mov byte [esp + 0x5c], 3
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edi
sub ecx, edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, ebp
push eax
mov eax, dword [esp + 0x38]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
push 1
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov edi, eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x28]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, esi
call fcn.0040b680
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
test edi, edi
je 0x40b251
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x34]
push edi
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, dword [esp + 0x64]
mov dword [esp + 0x18], 0x4318c0
mov dword [esi], ebp
mov dword [esi + 4], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0x4318ac
mov byte [esp + 0x5c], 1
call fcn.0042e4a2
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0
call fcn.0042e4ea
lea ecx, [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 8
Function at 0x40d460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ff00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x28]
push edi
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
push eax
push 1
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov edi, eax
push ebx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x34]
push ebx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xc], 0x4318c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x40ece0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x430020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x68], ebx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x70]
mov byte [esp + 0x68], 1
cmp eax, ebx
jne 0x40ed1f
mov dword [esp + 0x1c], ebx
jmp 0x40ed26
mov eax, dword [eax + 0x20]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x74]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], edx
call fcn.0042e2e6
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], ebx
cmp eax, ebx
je 0x40ed81
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jmp 0x40ed8c
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x1c]
sub esp, 0x44
mov esi, esp
mov dword [esp + 0xb4], esp
mov dword [esi], ecx
mov edx, dword [esp + 0x64]
mov dword [esi + 4], edx
mov ecx, dword [esp + 0x68]
lea eax, [esi + 8]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x7c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x78]
push ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], eax
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x80]
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x84]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x2c], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x30], eax
mov cl, byte [esp + 0x94]
mov byte [esi + 0x34], cl
mov edx, dword [esp + 0x98]
mov dword [esi + 0x38], edx
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x40], ecx
mov ecx, edi
call fcn.0040ee70
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x14
Function at 0x40f3f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4300b8
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
push edi
mov edi, dword [esp + 0x5c]
mov esi, ecx
push edi
call fcn.0040f540
test eax, eax
jne 0x40f42d
pop edi
pop esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 8
lea eax, [esp + 8]
push edi
push eax
lea ecx, [esi + 0x40]
call fcn.0040f760
mov esi, eax
mov edi, dword [esp + 0x60]
mov ecx, dword [esi]
lea eax, [esi + 8]
mov dword [esp + 0x54], 0
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov edx, dword [eax]
lea ecx, [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
lea edx, [esi + 0x1c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x18], ecx
push edx
lea ecx, [edi + 0x1c]
call fcn.0042e2e6
mov eax, dword [esi + 0x20]
mov dword [esp + 0x54], 0xffffffff
mov dword [edi + 0x20], eax
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x24], ecx
mov edx, dword [esi + 0x28]
mov dword [edi + 0x28], edx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x30], ecx
mov dl, byte [esi + 0x34]
mov byte [edi + 0x34], dl
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x3c], ecx
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x24]
mov dword [edi + 0x40], edx
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret 8

Function at 0x40f800
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x430108
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
lea esi, [eax + edx*4]
mov dword [esi], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [esp + 0x20]
lea eax, [esi + 8]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], eax
call fcn.0042e2e6
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], 0xffffffff
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x2c], edx
mov eax, dword [esp + 0x48]
mov dword [esi + 0x30], eax
mov cl, byte [esp + 0x4c]
mov byte [esi + 0x34], cl
mov edx, dword [esp + 0x50]
mov dword [esi + 0x38], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x40], ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0x48
Function at 0x40f8e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x430128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x20]
mov ebx, dword [edi + 8]
sub esp, 0x44
mov dword [esp + 0x5c], 0
mov esi, esp
mov dword [esp + 0x50], esp
mov dword [esi], eax
mov ecx, dword [esp + 0x68]
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x6c]
lea edx, [esi + 8]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x80]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x7c]
push eax
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x84]
push ebx
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x30], edx
mov al, byte [esp + 0x9c]
mov byte [esi + 0x34], al
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x38], ecx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0xa8]
mov ecx, edi
mov dword [esi + 0x40], eax
call fcn.0040ff30
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x44
Function at 0x416857
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4168bf
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 0x416919
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 0x4168a2
push 5
jmp 0x416910
cmp eax, 5
jne 0x416911
cmp dword [edi + 8], 0
jne 0x4168b1
push 6
jmp 0x416910
cmp eax, 5
jne 0x416911
cmp dword [edi + 8], ebx
jne 0x416911
push 7
jmp 0x416910
cmp al, 4
jae 0x4168c7
xor ebx, ebx
jmp 0x416919
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 0x416919
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 0x416911
cmp dword [edi + 8], 0xa
jne 0x416904
push 3
jmp 0x416910
cmp eax, 4
jne 0x416911
cmp dword [edi + 8], 0x5a
jne 0x416911
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 0x41883b
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x418853
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
push 8
pop eax
ret

Function at 0x41b7fa
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x56c4ac
mov esi, ecx
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
pop ecx
test ebp, ebp
pop ecx
je 0x41b886
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebp
call ebx
push ebp
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
mov edi, eax
mov ecx, esi
push edi
call fcn.0041b88f
test al, al
jne 0x41b840
xor bl, bl
jmp 0x41b867
push 0
push 0
push ebp
call ebx
push ebp
push edi
push 1
pop ebx
push ebx
push dword [esi + 0xc]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp edi, eax
jne 0x41b873
and dword [esi + 8], 0
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov al, bl
jmp 0x41b888
and dword [esi + 4], 0
and dword [esi + 8], 0
push ebp
mov dword [esi + 0x10], edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4210c0
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 0x42115d
push 2
pop esi
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x42116a
push 1
pop esi
mov edx, eax
mov ecx, 0x200
and edx, ecx
cmp edx, ecx
jne 0x42117a
or esi, 0x24
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x421187
or esi, 0x20
mov ecx, eax
and cx, 0x80
cmp cl, 0x80
jne 0x421199
or esi, 0x800
and eax, 0xb
cmp al, 0xb
jne 0x4211a3
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 0x423b77
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.0042b05c
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.004158d1
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 0x423c6e
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42828e
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x57cb38]
push ebx
xor ebx, ebx
push edi
cmp eax, ebx
jne 0x4282b4
cmp dword [0x57cb30], ebx
jne 0x4282b4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp 0x428473
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xfffffff2
jne 0x4283df
mov edi, dword [ebp + 8]
cmp dword [edi + 0x6a0], ebx
je 0x4282d2
xor eax, eax
jmp 0x428487
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
mov esi, 0x57cb10
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x428331
push dword [0x57cb30]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
or dword [0x56c4d0], 0xffffffff
or dword [0x56c4d8], 0xffffffff
or dword [0x56c4d4], 0xffffffff
push ebx
push 1
mov dword [0x57cb30], ebx
push dword [ebp + 0xc]
push edi
call fcn.00425660
add esp, 0x10
jmp 0x4283d7
cmp dword [0x56c4d0], ebx
jne 0x42834e
push dword [ebp - 4]
lea ebx, [edi + 8]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004272f1
jmp 0x428364
push dword [ebp - 4]
lea ebx, [edi + 0x354]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042737b
add esp, 0x14
cmp dword [0x56c4d8], eax
mov dword [0x56c4d4], eax
je 0x4283d2
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.004273ad
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.004272c4
add esp, 0x14
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x56c4d4]
mov dword [0x56c4d8], eax
xor eax, eax
pop esi
jmp 0x428487
cmp ecx, 0xfffd
jne 0x42840c
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 [0x57cb38], eax
jmp 0x4282cb
cmp ecx, 0xfffe
jne 0x42846f
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.004278ba
mov eax, dword [0x56c4dc]
add esp, 0x10
cmp eax, 0xffffffff
je 0x4282cb
push ebx
push eax
push dword [0x57cb34]
push dword [ebp + 0xc]
call fcn.00427146
add esp, 0x10
jmp 0x4282cb
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
Function at 0x42b6c9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp + 0x1c]
mov edi, ecx
push eax
push esi
mov ebx, dword [edi + 0xd8]
mov dword [ebp - 4], edi
call fcn.0042b05c
push 0
push eax
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowRgn]
test ebx, ebx
je 0x42b707
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp + 0x1c]
push esi
push eax
push ebx
call fcn.004158d1
mov eax, dword [esi + 0x44]
add esp, 0x14
add dword [ebp + 0x1c], eax
mov eax, dword [esi + 0x48]
add dword [ebp + 0x20], eax
mov eax, dword [esi + 0x4c]
sub dword [ebp + 0x24], eax
mov eax, dword [esi + 0x50]
push dword [ebp + 0x18]
sub dword [ebp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
push ebx
mov dword [ebp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
push 3
push 0x56c558
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
lea eax, [ebp - 0x2c]
lea esi, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.0042b596
push 0
push 0xf
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x1c]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.00415f33
add esp, 0x14
lea eax, [ebp - 0xf4]
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp + 0x14]
and byte [ebp - 0x2d], 0
add eax, 4
push eax
call fcn.0041650a
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
pop ecx
push eax
push ebx
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push ebx
mov dword [ebp + 0x10], eax
call edi
push dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xf4]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0x10]
push ebx
call esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x14]
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 0x24
Function at 0x401f35
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [0x42c040]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [0x48e550]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x401f99
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402630
lea ecx, [esp + 0x14]
call fcn.00401d65
cmp eax, 0x8aafdc01
je 0x401fb1
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402ef5
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x401f68
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004069ff
add esp, 0x24
ret
mov edx, str.QwruxAA
call fcn.00403895
push eax
call fcn.00403863
mov eax, dword [ebx + 0x24]
pop ecx
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402ef5
jmp 0x401f9b