Function at 0x42b521
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff3ec
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
cmp dword [ebx + 0x1a1], 0xd
jne 0x42b557
push edi
push esi
push dword [ebp + 0xc]
push dword [ebx + 0x17d]
call fcn.00453d2d
add esp, 0x10
jmp 0x42b906
mov eax, dword [ebx + 0x1a5]
cmp eax, 5
je 0x42b567
cmp eax, 6
jne 0x42b583
mov eax, dword [ebx + 0x30]
cmp dword [0x4c0168], 0
jne 0x42b57c
push eax
call fcn.004597a1
pop ecx
jmp 0x42b583
push eax
call fcn.0045c33f
pop ecx
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x42b5e6
mov edx, dword [eax + 4]
cmp edx, dword [ebp + 0xc]
jne 0x42b5e6
cmp esi, 4
jne 0x42b5a6
push edi
push ebx
call fcn.0042eb62
add esp, 8
jmp 0x42b906
cmp esi, 6
jne 0x42b5ba
push edi
push ebx
call fcn.0042f33c
add esp, 8
jmp 0x42b906
cmp esi, 3
jne 0x42b5ce
push edi
push ebx
call fcn.0042f5a6
add esp, 8
jmp 0x42b906
cmp esi, 2
jne 0x42b906
push edi
push ebx
call fcn.0042f469
add esp, 8
jmp 0x42b906
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x42b60b
mov edx, dword [eax + 4]
cmp edx, dword [ebp + 0xc]
jne 0x42b60b
dec esi
jne 0x42b906
push edi
push ebx
call fcn.0042eb62
add esp, 8
jmp 0x42b906
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp + 0xc]
jne 0x42b906
cmp esi, 3
je 0x42b628
cmp esi, 2
jne 0x42b767
test edi, edi
je 0x42b741
cmp edi, 0x19
jne 0x42b72c
push 0xa0
lea edx, [ebp - 0xa4]
push edx
push 0xbb9
push dword [ebx + 0x3c]
call sub.USER32.dll_LoadStringA
lea ecx, [ebp - 0xa4]
push ecx
push ebx
call fcn.0042d216
add esp, 8
push ebx
call fcn.0043936b
cmp dword [ebx + 0x199], 0
pop ecx
je 0x42b6bd
push 0xa0
lea eax, [ebp - 0xa4]
push eax
push 0x7d8
push dword [ebx + 0x3c]
call sub.USER32.dll_LoadStringA
push dword [ebx + 0xac]
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.004a00a0
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
push 3
push 0x403
push dword [ebx + 0x40]
call sub.USER32.dll_SendMessageA
mov ebx, dword [ebx + 0x17d]
cmp dword [ebx], 0
je 0x42b906
mov esi, dword [ebx + 4]
mov dword [esi], 7
xor eax, eax
mov dword [esi + 4], eax
push 0x468
push esi
lea edx, [ebp - 0x70c]
push edx
call fcn.0049ad4c
add esp, 0xc
lea ecx, [ebp - 0x70c]
push ecx
push dword [0x4bfb98]
call fcn.00453a33
add esp, 8
mov edi, eax
mov eax, dword [ebp - 0x6a8]
lea edx, [ebp - 0x6a4]
mov dword [ebx + 8], eax
push pe_nt_image_headers32
push edx
add ebx, 0x34
push ebx
call fcn.0049ad4c
add esp, 0xc
jmp 0x42b906
push ebx
push 0
push 0x401
push dword [ebx + 0x40]
call sub.USER32.dll_PostMessageA
jmp 0x42b906
cmp esi, 3
jne 0x42b752
push ebx
call fcn.0042f7dc
pop ecx
jmp 0x42b906
cmp esi, 2
jne 0x42b906
push ebx
call fcn.0042f908
pop ecx
jmp 0x42b906
cmp esi, 6
jne 0x42b781
push ebx
push 0
push 0x401
push dword [ebx + 0x40]
call sub.USER32.dll_PostMessageA
jmp 0x42b906
cmp esi, 5
jne 0x42b8f5
test edi, edi
jne 0x42b8e3
mov dword [ebx + 0x169], 1
lea eax, [ebx + 0xb8]
lea esi, [ebp - 0x7ac]
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x7ac]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004a53ac
pop ecx
push 0xa0
lea edx, [ebp - 0xa4]
push edx
push 0x7f8
push dword [ebx + 0x3c]
call sub.USER32.dll_LoadStringA
lea ecx, [ebp - 0x7ac]
lea eax, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x2a4]
push dword [ebx + 0xac]
push eax
push edx
call fcn.004a00a0
add esp, 0x10
cmp dword [0x4b64b0], 0
je 0x42b838
cmp dword [ebx + 0x199], 0
je 0x42b838
lea ecx, [ebp - 0x2a4]
push ecx
push 6
push 0x403
push dword [ebx + 0x40]
call sub.USER32.dll_SendMessageA
cmp dword [0x4b6490], 0
je 0x42b856
push dword [ebx + 0xac]
push 0xd
push 0x40b
push dword [ebx + 0x40]
call sub.USER32.dll_SendMessageA
lea edx, [ebx + 0xb8]
mov eax, dword [ebx + 0x17d]
cmp dword [eax], 0
je 0x42b87c
push pe_nt_image_headers32
push edx
mov ecx, dword [eax + 4]
add ecx, 0x68
push ecx
call fcn.0049ad4c
add esp, 0xc
mov esi, dword [ebx + 0x17d]
cmp dword [esi], 0
je 0x42b8e3
mov edi, dword [esi + 4]
mov dword [edi], 1
xor eax, eax
mov dword [edi + 4], eax
push 0x468
push edi
lea edx, [ebp - 0xc14]
push edx
call fcn.0049ad4c
add esp, 0xc
lea ecx, [ebp - 0xc14]
push ecx
push dword [0x4bfb98]
call fcn.00453a33
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xbb0]
lea edx, [ebp - 0xbac]
mov dword [esi + 8], eax
push pe_nt_image_headers32
push edx
add esi, 0x34
push esi
call fcn.0049ad4c
add esp, 0xc
cmp dword [ebx + 0x1a1], 1
jne 0x42b906
push ebx
call fcn.0042a297
pop ecx
jmp 0x42b906
cmp esi, 0x1b
jne 0x42b906
cmp edi, 0x1b
jne 0x42b906
push ebx
call fcn.0042ba81
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret