Function at 0x430a40
Capabilities:
Capture screenshot
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x49d4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x274], 0
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ebx, eax
call ebp
lea eax, [esp + 0x3c]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x40]
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esi + 0x24]
mov edx, dword [esi + 0x4c]
and al, 1
lea edi, [esi + 0x4c]
mov byte [esp + 0x17], al
mov eax, dword [edx - 0xc]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], eax
test eax, eax
jne 0x430b4e
push 0x206
push eax
lea ecx, [esp + 0x66]
push ecx
mov word [esp + 0x68], ax
call fcn.00454ce0
mov eax, dword [esi + 4]
add esp, 0xc
push 0x104
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430b32
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
call fcn.0040df70
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
sub edi, dword [esp + 0x18]
sub ebp, dword [esp + 0x1c]
cmp dword [esi + 0x58], 0
jne 0x430bf1
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
mov dword [esi + 0x58], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
push edi
push ebx
mov dword [esi + 0x5c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
push edi
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x58]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x5c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x58]
push 0xcc0020
push eax
push ecx
push ebx
push ebp
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
push 0xcc0020
push 0
push 0
push eax
push ebp
push edi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x430cef
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x28]
push edx
call eax
mov eax, dword [esp + 0x28]
cdq
idiv dword [esi + 0x60]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
push edx
xor ebx, ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x430d24
cmp dword [esi + 0x60], 4
jne 0x430c57
mov eax, dword [esp + 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea ebx, [eax + eax*2]
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
push 0xcc0020
push 0
push 0
push eax
push ebp
push edi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x48]
mov edi, dword [ecx]
push 0
xor edx, edx
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x5c]
mov edx, dword [edi + 0x18]
push eax
call edx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x288]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x430de2
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x430d78
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x278]
push eax
push edx
jmp 0x430d81
mov eax, dword [esi + 0x44]
test al, 4
je 0x430d4b
mov eax, dword [esp + 0x28]
cdq
idiv dword [esi + 0x60]
lea ebx, [eax + eax]
add eax, ebx
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jmp 0x430c74
cmp byte [esp + 0x17], bl
jne 0x430d5a
test al, 2
jne 0x430d62
jmp 0x430c57
test al, 1
je 0x430c57
mov eax, dword [esp + 0x28]
cdq
idiv dword [esi + 0x60]
mov ebx, eax
lea edx, [ebx + ebx]
mov dword [esp + 0x54], edx
jmp 0x430c74
push eax
mov eax, dword [esp + 0x27c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x278]
push 1
push ecx
mov edi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [esi + 0x54]
test esi, esi
je 0x430daf
mov edx, dword [esp + 0x278]
push esi
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push 0xa5
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x280]
push ebx
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
test edi, edi
je 0x430de2
mov ecx, dword [esp + 0x278]
push edi
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00454cc7
add esp, 0x260
ret 4