Function at 0xd280260
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 4]
xor ecx, ecx
test byte [esi + 0x16], 1
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x264], ebx
mov word [ebp - 0x25c], cx
jne 0xd2802bf
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 8
push edi
push 0
call fcn.0d2763f0
mov edi, eax
test edi, edi
je 0xd280525
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0xd2802e0
mov edx, dword [edi + 0x14]
mov eax, dword [ebp - 0x270]
inc dword [ebp - 0x260]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0xd2804e3
movzx eax, word [edi + 0x10]
add eax, dword [ebp - 0x264]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x26c], eax
mov eax, ecx
and eax, 0xf
cmp eax, 2
je 0xd280327
cmp eax, 1
jne 0xd28041f
test ecx, 0x400000
je 0xd2803f3
push 0
push 0
push 0x147
push esi
call ebx
mov ecx, dword [edi + 4]
cmp ecx, 0x402
jne 0xd280385
push 0
push eax
push 0x150
push esi
call ebx
test eax, eax
jge 0xd28035b
xor eax, eax
mov edx, dword [ebp - 0x264]
push 0xa
lea ecx, [ebp - 0x25c]
push ecx
movzx ecx, byte [edx + 0xa8]
shl eax, 8
add ecx, eax
push ecx
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
jmp 0xd280406
cmp ecx, 0x3ea
jne 0xd2803c5
test eax, eax
jge 0xd280393
xor eax, eax
push 0
push eax
push 0x150
push esi
call ebx
mov edx, dword [ebp - 0x264]
mov ecx, dword [edx + 0xac]
mov edx, dword [ecx + eax*4 + 0x1c]
push edx
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
jmp 0xd280406
test eax, eax
jge 0xd2803d4
xor ecx, ecx
mov word [ebp - 0x25c], cx
jmp 0xd280410
push 0
push eax
push 0x150
push esi
call ebx
push 0x12c
lea edx, [ebp - 0x25c]
push edx
push eax
call fcn.0d29fa20
jmp 0xd280406
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x25c], 0
jne 0xd28041f
mov ecx, dword [ebp - 0x26c]
cmp dword [ecx], 0
je 0xd280503
mov edx, dword [edi + 8]
and edx, 0xf
cmp dl, 3
jne 0xd280478
push 0
push 0
push 0xf0
push esi
call ebx
test dword [edi + 8], 0x2000000
je 0xd280448
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
jne 0xd2804dc
mov edx, dword [ebp - 0x26c]
cmp dword [edx], eax
je 0xd280503
mov eax, 0xd271598
push eax
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call sub.msvcrt.dll_swprintf_s
add esp, 0xc
lea eax, [ebp - 0x25c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd280481
sub eax, edx
lea ecx, [ebp - 0x25c]
sar eax, 1
push edi
push ecx
mov esi, eax
call dword [sym.imp.msvcrt.dll__wtol]
mov ecx, dword [edi + 0xc]
add esp, 4
push eax
push esi
mov esi, dword [ebp - 0x268]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x25c]
push edx
push eax
call ecx
movzx eax, ax
test ax, ax
je 0xd2804c9
cmp ax, 1
jne 0xd28053a
mov ecx, dword [ebp - 0x260]
dec ecx
mov edx, 1
shl edx, cl
or dword [esi + 8], edx
jmp 0xd280503
mov eax, 0xd271924
jmp 0xd280463
test dword [edi + 8], 0x4000
je 0xd280503
mov ecx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x268]
dec ecx
mov edx, 1
shl edx, cl
or dword [eax + 8], edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.0d2763f0
mov edi, eax
test edi, edi
jne 0xd2802e0
mov ebx, dword [ebp - 0x264]
mov esi, dword [ebp - 0x268]
cmp byte [ebx + 0xa8], 0x1b
jne 0xd280538
mov eax, dword [ebx + 0x30]
test eax, eax
je 0xd280538
mov dword [esi + 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 8