Function at 0x1012fc60
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x101fcafd
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.101d23d0
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x1068], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x1084]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1094]
xor ebx, ebx
push 0x7fe
lea eax, [esp + 0x882]
push ebx
push eax
mov word [esp + 0x888], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x7fe
lea ecx, [esp + 0x82]
push ebx
push ecx
mov word [esp + 0x88], bx
call sub.MSVCR80.dll_memset
mov edx, dword [ebp + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x831
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x400
lea ecx, [esp + 0x880]
push ecx
push eax
call edi
mov edx, dword [ebp + 4]
push 0x832
push edx
call esi
push 0x400
lea ecx, [esp + 0x80]
push ecx
push eax
call edi
cmp dword [ebp + 0x15c], ebx
mov byte [esp + 0x1a], 1
je 0x1012fd81
cmp dword [ebp + 0x160], 8
jb 0x1012fd44
mov ecx, dword [ebp + 0x14c]
jmp 0x1012fd4a
lea ecx, [ebp + 0x14c]
lea eax, [esp + 0x7c]
call fcn.1019c610
cmp al, bl
sete al
cmp al, bl
mov byte [esp + 0x1a], al
je 0x1012fdb3
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1012fd67
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x80]
push edx
jmp 0x1012fda8
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
jmp 0x1012fd90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1012fd90
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x80]
push eax
lea esi, [ebp + 0x148]
call fcn.10007a00
lea eax, [esp + 0x87c]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1012fdd0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x880]
push ecx
lea esi, [esp + 0x68]
call fcn.10007a00
mov dword [esp + 0x108c], ebx
push 0x10232d4c
mov eax, esi
call fcn.1019c7e0
add esp, 4
push 0x10232d4c
mov eax, esi
call fcn.1019c850
mov eax, dword [esp + 0x68]
add esp, 4
cmp dword [esp + 0x78], 8
mov byte [esp + 0x19], bl
lea esi, [ebp + 0x12c]
jae 0x1012fe2f
lea eax, [esp + 0x64]
mov edi, dword [esp + 0x74]
push eax
mov eax, dword [esi + 0x14]
mov ecx, esi
call fcn.1000fad0
test eax, eax
je 0x1012fe55
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
mov ecx, esi
call fcn.10007880
mov byte [esp + 0x19], 1
lea edi, [ebp + 0x148]
push 0x10232d4c
mov eax, edi
call fcn.1019c7e0
add esp, 4
push 0x10232d4c
mov eax, edi
call fcn.1019c850
add esp, 4
cmp dword [ebp + 0x140], ebx
jne 0x1012ff19
mov ecx, dword [ebp + 0x128]
cmp ecx, ebx
je 0x1012fee4
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0x392
lea eax, [esp + 0x24]
push eax
call edx
mov byte [esp + 0x108c], 1
mov ecx, dword [ebp + 4]
push ecx
xor ecx, ecx
mov edi, eax
call fcn.101cac50
add esp, 4
mov byte [esp + 0x108c], bl
cmp dword [esp + 0x38], 8
jb 0x1012fed3
mov edx, dword [esp + 0x24]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
mov dword [esp + 0x108c], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x1012ff03
mov eax, dword [esp + 0x64]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jmp 0x10130149
cmp dword [ebp + 0x15c], ebx
jne 0x1012ff49
mov ecx, dword [ebp + 0x128]
cmp ecx, ebx
je 0x1012fee4
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0x393
lea eax, [esp + 0x24]
push eax
call edx
mov byte [esp + 0x108c], 2
jmp 0x1012fea8
mov ecx, dword [ebp + 0x16c]
push ecx
push 4
push esi
push edi
lea edi, [ebp + 0x20]
mov eax, edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x2b], 1
call fcn.10132bb0
push eax
push ecx
mov ecx, dword [ebp + 0x128]
cmp ecx, ebx
mov eax, esp
mov dword [esp + 0x58], esp
mov dword [eax], ecx
je 0x1012ff81
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0x10a4], 3
push ecx
mov ecx, dword [ebp + 0x120]
cmp ecx, ebx
mov eax, esp
mov dword [esp + 0x58], esp
mov dword [eax], ecx
je 0x1012ffa2
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0x10a8], 4
mov ecx, dword [ebp + 4]
push ecx
mov byte [esp + 0x10ac], bl
lea edx, [esp + 0x3b]
lea ecx, [esp + 0x3c]
call fcn.100f6850
add esp, 0x20
cmp al, bl
je 0x10130074
cmp byte [esp + 0x1b], bl
jne 0x1012fff8
mov edx, dword [ebp + 4]
push edx
push ecx
call fcn.10191fb0
add esp, 4
mov ecx, eax
call fcn.10192390
mov eax, dword [ebp + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10130135
mov eax, edi
call fcn.10132bb0
cmp byte [ebp + 0x168], bl
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x174], eax
mov dword [ebp + 0x170], edx
je 0x10130056
mov ecx, dword [ebp + 0x120]
cmp ecx, ebx
je 0x10130037
mov eax, dword [ebp + 0x16c]
cmp eax, edx
je 0x10130037
mov edx, dword [ecx]
push 1
push 1
push eax
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebp + 4]
push ecx
push ecx
call fcn.10191fb0
add esp, 4
mov ecx, eax
call fcn.10192390
mov edx, dword [ebp + 4]
push 1
push edx
jmp 0x10130129
mov eax, dword [ebp + 4]
push eax
push ecx
call fcn.10191fb0
add esp, 4
mov ecx, eax
call fcn.10192390
push 0x1000
jmp 0x10130125
cmp byte [ebp + 0x168], bl
je 0x101300a2
mov ecx, dword [ebp + 0x120]
cmp ecx, ebx
je 0x101300a2
mov edx, dword [ebp + 0x16c]
cmp edx, dword [esp + 0x1c]
je 0x10130175
mov eax, dword [ecx]
push 1
push 1
push edx
mov edx, dword [eax + 0x44]
call edx
lea edx, [esp + 0x7c]
lea eax, [esp + 0x44]
call fcn.10007690
mov byte [esp + 0x108c], 5
lea edx, [esp + 0x87c]
lea eax, [esp + 0x20]
call fcn.10007690
mov byte [esp + 0x108c], 6
lea edx, [ebp + 0x174]
push edx
lea eax, [ebp + 0x170]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, edi
call fcn.101348d0
mov byte [esp + 0x108c], 5
lea ecx, [esp + 0x20]
call fcn.10001dd0
mov byte [esp + 0x108c], bl
lea ecx, [esp + 0x44]
call fcn.10001dd0
mov eax, dword [ebp + 4]
push eax
push ecx
call fcn.10191fb0
add esp, 4
mov ecx, eax
call fcn.10192390
push 1
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
push ebp
call fcn.10130920
mov dword [esp + 0x108c], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.10001dd0
xor eax, eax
mov ecx, dword [esp + 0x1084]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1068]
xor ecx, esp
call fcn.101d19cc
add esp, 0x107c
ret 4
cmp byte [esp + 0x1a], bl
jne 0x1013018f
cmp byte [esp + 0x19], bl
jne 0x1013018f
mov eax, dword [ebp + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10130135
push 1
push 1
lea eax, [esp + 0x21]
push eax
push esi
lea eax, [ebp + 0x148]
mov byte [esp + 0x29], 1
mov edi, dword [ecx]
push eax
push edx
mov edx, dword [edi + 0x2c]
call edx
mov eax, dword [ebp + 4]
push eax
push ecx
call fcn.10191fb0
add esp, 4
mov ecx, eax
call fcn.10192390
mov ecx, dword [ebp + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10130135