Function at 0x531ba0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65cdb8
mov eax, dword fs:[0]
push eax
mov eax, 0x115c
mov dword fs:[0], esp
call fcn.00612380
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
push 0x3fe
push eax
mov dword [ebp - 0x48], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push 0xffc
lea ecx, [ebp - 0x1164]
push ebx
push ecx
mov esi, eax
mov dword [ebp - 0x1168], ebx
call fcn.006100a0
add esp, 0xc
push 0x800
lea edx, [ebp - 0x1168]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x1168]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x531c14
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, ebx
jne 0x531c8c
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
push ebx
push 0x2e7c
call fcn.00403bf0
add esp, 8
cmp eax, ebx
je 0x531c64
push 0x2e7c
push eax
lea ecx, [ebp - 0x14]
call fcn.00405a10
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
push 0x10
push 0x67add0
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x5321e4
push 0x800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], ebx
call fcn.005a6200
add esp, 8
test eax, eax
je 0x5321fd
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 4
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 8
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xa
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xc
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xe
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x10
push 0xfe
lea ecx, [ebp - 0x164]
push ebx
push ecx
mov dword [ebp - 0x168], ebx
call fcn.006100a0
mov eax, dword [0x716738]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
push 0x80
lea edx, [ebp - 0x168]
push edx
push 0x2e7d
push eax
call esi
lea eax, [ebp - 0x168]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x531db0
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401670
mov eax, dword [0x716738]
push 0x80
lea edx, [ebp - 0x168]
push edx
push 0x2e7e
push eax
call esi
lea eax, [ebp - 0x168]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x531df1
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00401670
mov eax, dword [0x716738]
push 0x80
lea edx, [ebp - 0x168]
push edx
push 0x2e7f
push eax
call esi
lea eax, [ebp - 0x168]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x531e32
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401670
mov eax, dword [0x716738]
push 0x80
lea edx, [ebp - 0x168]
push edx
push 0x2e80
push eax
call esi
lea eax, [ebp - 0x168]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x531e73
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00401670
mov eax, dword [0x716738]
push 0x80
lea edx, [ebp - 0x168]
push edx
push 0x2e81
push eax
call esi
lea eax, [ebp - 0x168]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x531eb4
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00401670
mov eax, dword [0x716738]
push 0x80
lea edx, [ebp - 0x168]
push edx
push 0x2e82
push eax
call esi
lea eax, [ebp - 0x168]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x531ef5
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401670
mov eax, dword [0x716738]
push 0x80
lea edx, [ebp - 0x168]
push edx
push 0x2e7c
push eax
call esi
lea eax, [ebp - 0x168]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x531f36
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401670
mov esi, dword [ebp - 0x14]
push ecx
mov edi, esp
add esi, 0xfffffff0
mov dword [ebp - 0x64], esp
push esi
mov dword [ebp - 0x18], edi
call fcn.004011f0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x40]
mov ebx, esp
add edi, 0xfffffff0
mov dword [ebp - 0x60], esp
push edi
mov dword [ebp - 0x18], ebx
call fcn.004011f0
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x14
mov ebx, dword [ebp - 0x38]
add ebx, 0xfffffff0
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x10], esp
push ebx
call fcn.004011f0
mov edx, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x20], eax
call fcn.004011f0
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x28], eax
call fcn.004011f0
mov edx, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov dword [ebp - 0x54], esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x30], eax
call fcn.004011f0
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 0x10], eax
call fcn.004011f0
mov edx, dword [ebp - 0x18]
add eax, 0x10
add esp, 4
mov dword [edx], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
push eax
push ecx
lea edx, [ebp - 0x1168]
push edx
mov byte [ebp - 4], 0x10
call fcn.005a67d0
add esp, 0x28
test eax, eax
jne 0x532114
mov byte [ebp - 4], 0xe
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x532075
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x532092
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0xa
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5320af
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5320cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5320ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53210f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x5321da
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov byte [ebp - 4], 0xe
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x532140
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53215d
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0xa
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x53217a
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53219a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5321ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5321da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5321fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10