Function at 0x430bf8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
cmp dword [ebx + 4], 0
jne 0x430c55
push 0x63
mov eax, dword [ebp + 0x1c]
push eax
mov edx, dword [ebp + 0x18]
push edx
push ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00488af4
mov edi, eax
cmp edi, 1
jne 0x430c4e
cmp dword [ebx + 4], 1
je 0x430c4e
cmp dword [ebx + 4], 2
je 0x430c4e
cmp dword [ebx + 4], 3
je 0x430c4e
push 6
mov eax, dword [ebp + 0x1c]
push eax
push ebx
call fcn.0043ec70
jmp 0x431357
mov eax, edi
jmp 0x431357
cmp dword [ebx + 0x2c], 0
jne 0x430c65
mov eax, 2
jmp 0x431357
cmp dword [ebx + 4], 2
jne 0x430c7e
mov edx, dword [ebx + 0x2c]
cmp dword [edx + 0x2c], 0
jne 0x430c7e
mov eax, 2
jmp 0x431357
cmp dword [ebx + 4], 3
jne 0x430c9a
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0x2c]
cmp dword [ecx + 0x2c], 0
jne 0x430c9a
mov eax, 2
jmp 0x431357
mov edx, dword [ebx + 0x2c]
cmp dword [edx + 0x18], 1
je 0x430cad
mov eax, 1
jmp 0x431357
cmp dword [ebx + 4], 2
jne 0x430cc9
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0x2c]
cmp dword [ecx + 0x18], 1
je 0x430cc9
mov eax, 1
jmp 0x431357
cmp dword [ebx + 4], 3
jne 0x430ce8
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 0x2c]
cmp dword [eax + 0x18], 1
je 0x430ce8
mov eax, 1
jmp 0x431357
mov edx, dword [ebx + 0x2c]
cmp dword [edx + 8], 0
jne 0x431347
cmp dword [ebx + 4], 2
jne 0x430d0b
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 0x2c]
cmp dword [eax + 8], 0
jne 0x431347
mov eax, dword [ebx + 4]
cmp eax, 3
jne 0x430d26
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0x2c]
mov edx, dword [ecx + 0x2c]
cmp dword [edx + 8], 0
jne 0x431347
dec eax
jne 0x43106a
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
push ecx
call fcn.00488810
test eax, eax
je 0x430d4c
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
push edx
call fcn.004c4ccc
pop ecx
mov edi, eax
jmp 0x430d51
mov edi, 0x270f
test edi, edi
jg 0x430d83
xor edi, edi
mov esi, dword [0x4cc16c]
test esi, esi
je 0x430d6c
inc edi
mov esi, dword [esi + 0x16c]
test esi, esi
jne 0x430d61
push edi
push 0x4cc440
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x431347
mov esi, dword [0x4cc16c]
test esi, esi
je 0x430dbf
cmp edi, 0x270f
jne 0x430dac
push esi
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
push edx
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430db5
xor edi, edi
jmp 0x430dbf
dec edi
test edi, edi
jg 0x430db5
xor edi, edi
jmp 0x430dbf
mov esi, dword [esi + 0x16c]
test esi, esi
jne 0x430d8d
test edi, edi
jne 0x431347
test esi, esi
je 0x431347
cmp dword [ebx + 0xc], 0
je 0x43103f
push 0x2e
mov eax, dword [ebx]
push eax
call fcn.004bd108
add esp, 8
mov edi, eax
test eax, eax
je 0x43103f
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [esi + 0xc8]
push ecx
call sub.USER32.dll_GetWindowRect
push 0x4cc444
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430e2c
mov eax, dword [ebp - 0x10]
push eax
push 0x4cc448
mov edx, dword [ebp + 0x14]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x431347
push 0x4cc44c
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430e58
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4cc450
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x431347
push 0x4cc454
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430e87
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
push edx
push 0x4cc458
mov ecx, dword [ebp + 0x14]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x431347
push 0x4cc45c
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430eb6
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push 0x4cc460
mov edx, dword [ebp + 0x14]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x431347
push 0x4cc464
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430ee2
push 0x180
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [esi + 0xc8]
push eax
call sub.USER32.dll_GetWindowTextA
jmp 0x431347
push str..modal
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430f26
cmp dword [esi + 0x158], 0
je 0x430f11
mov edx, dword [ebp + 0x14]
mov esi, 0x4cc474
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x431347
mov edx, dword [ebp + 0x14]
mov esi, 0x4cc47b
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x431347
push str..table
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430f66
add esi, 0x64
mov eax, dword [ebp + 0x14]
push esi
mov edi, esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x431347
push 0x4cc48b
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430fad
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x431347
mov edi, eax
add edi, 0xfffffb9c
test edi, edi
jle 0x431347
push edi
push 0x4cc490
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x431347
push str..cancel
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x430ff4
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x431347
mov edi, eax
add edi, 0xfffffb9c
test edi, edi
jle 0x431347
push edi
push 0x4cc49d
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x431347
push str..result
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x431347
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x431347
mov edi, eax
add edi, 0xfffffb9c
test edi, edi
jle 0x431347
push edi
push 0x4cc4aa
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x431347
mov edx, dword [ebp + 0x14]
push esi
mov edi, esi
mov esi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x431347
cmp dword [ebp + 0x20], 0
je 0x431086
push 0x4dea10
push 0x67f
call fcn.0040a8fc
xor eax, eax
jmp 0x431357
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx]
push ecx
call fcn.004bceac
pop ecx
cmp eax, 0x5a
jbe 0x4310a0
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
mov byte [edx + 0x5a], 0
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
push eax
call fcn.00488810
test eax, eax
je 0x4310d6
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx]
push ecx
push 0
push 0x680
call fcn.0040a8fc
push eax
push 0x4dea10
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x431357
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx]
push ecx
call fcn.0042db14
mov esi, eax
test esi, esi
je 0x43110e
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
push edx
push 0
push 0x681
call fcn.0040a8fc
push eax
push 0x4dea10
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x431357
call fcn.0042d610
mov esi, eax
test esi, esi
jne 0x43112a
push 8
mov eax, dword [ebp + 0x1c]
push eax
push ebx
call fcn.0043ec70
jmp 0x431357
cmp dword [ebx + 4], 1
jne 0x431183
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx]
push esi
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [esi + 0x64]
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx]
push esi
mov esi, eax
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4311fd
cmp dword [ebx + 4], 2
jl 0x4311fd
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
push esi
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax + 0x2c]
mov ecx, dword [edx]
push ecx
call fcn.004bceac
pop ecx
cmp eax, 0x5a
jbe 0x4311cf
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax + 0x2c]
mov ecx, dword [edx]
mov byte [ecx + 0x5a], 0
lea eax, [esi + 0x64]
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0x2c]
mov edx, dword [ecx]
push esi
mov esi, eax
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
mov dword [esi + 0xc8], eax
push esi
call fcn.0042dc88
test eax, eax
jne 0x431236
push esi
call fcn.0042d710
cmp byte [0x4dea10], 0
jne 0x43122f
push 6
mov edx, dword [ebp + 0x1c]
push edx
push ebx
call fcn.0043ec70
jmp 0x431357
xor eax, eax
jmp 0x431357
cmp dword [ebx + 4], 3
jne 0x4312d7
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax]
push edx
call fcn.004c4ccc
pop ecx
mov edi, eax
cmp edi, 0xffffffff
jne 0x431263
call sub.USER32.dll_GetDesktopWindow
mov dword [ebp + 8], eax
jmp 0x4312d7
cmp edi, 0xfffffffe
jne 0x431272
mov eax, dword [0x4d429c]
mov dword [ebp + 8], eax
jmp 0x4312d7
cmp edi, 0xfffffffd
jne 0x431291
mov edx, dword [0x4d42a8]
mov dword [ebp + 8], edx
cmp dword [ebp + 8], 0
jne 0x4312d7
mov ecx, dword [0x4d429c]
mov dword [ebp + 8], ecx
jmp 0x4312d7
cmp edi, 0xfffffffc
jne 0x4312bd
call sub.USER32.dll_GetActiveWindow
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x4312ac
mov eax, dword [0x4d42a8]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x4312d7
mov edx, dword [0x4d429c]
mov dword [ebp + 8], edx
jmp 0x4312d7
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax + 0x2c]
mov ecx, dword [edx]
push ecx
call fcn.004b78d4
test eax, eax
je 0x4312d7
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov edx, dword [ebp + 8]
mov dword [esi + 0xcc], edx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0xec], ecx
push esi
call fcn.0042db60
mov edi, eax
test edi, edi
jg 0x431328
push esi
call fcn.0042d710
cmp byte [0x4dea10], 0
jne 0x431324
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
push edx
push 0
push 0x682
call fcn.0040a8fc
push eax
push 0x4dea10
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x431357
push esi
call fcn.0042d710
jmp 0x431347
mov edx, dword [ebx + 0x2c]
push edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
call fcn.0046f72c
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
dec dword [ebx + 4]
cmp dword [ebx + 4], 0
jg 0x431330
xor ecx, ecx
mov dword [ebx + 4], ecx
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c