Function at 0x430f30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521f0f
mov eax, dword fs:[0]
push eax
mov eax, 0x115c
call fcn.004f01b0
mov eax, dword [0x58c250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
push 0x3f2
push eax
mov dword [ebp - 0x114c], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push 0xffc
lea ecx, [ebp - 0x110c]
push ebx
push ecx
mov esi, eax
mov dword [ebp - 0x1110], ebx
call fcn.004f0550
add esp, 0xc
push 0x800
lea edx, [ebp - 0x1110]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x1110]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x430fb4
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, ebx
jne 0x431035
mov eax, dword [0x58c214]
mov edx, dword [eax + 0xc]
mov ecx, 0x58c214
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x1118], esi
mov dword [ebp - 4], ebx
push ebx
push 0x89
call fcn.00401480
add esp, 8
cmp eax, ebx
je 0x43100d
push 0x89
push eax
lea ecx, [ebp - 0x1118]
call fcn.00406170
mov esi, dword [ebp - 0x1118]
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
push 0x10
push 0x53d180
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x431639
push 0x800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x1138]
push ecx
push eax
mov dword [ebp - 0x1148], eax
mov dword [ebp - 0x1138], ebx
call fcn.0049a660
add esp, 8
test eax, eax
je 0x431652
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x1128], eax
mov dword [ebp - 4], 4
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x1134], eax
mov byte [ebp - 4], 6
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x112c], eax
mov byte [ebp - 4], 8
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x113c], eax
mov byte [ebp - 4], 0xa
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x1130], eax
mov byte [ebp - 4], 0xc
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x1144], eax
mov byte [ebp - 4], 0xe
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x1118], eax
mov byte [ebp - 4], 0x10
mov edx, dword [0x594ad0]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x80
lea ecx, [ebp - 0x110]
push ecx
push 0x2e7d
push edx
call esi
lea eax, [ebp - 0x110]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x431160
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x1128]
call fcn.00401e30
mov edx, dword [0x594ad0]
push 0x80
lea ecx, [ebp - 0x110]
push ecx
push 0x2e7e
push edx
call esi
lea eax, [ebp - 0x110]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4311a5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x1134]
call fcn.00401e30
mov edx, dword [0x594ad0]
push 0x80
lea ecx, [ebp - 0x110]
push ecx
push 0x2e7f
push edx
call esi
lea eax, [ebp - 0x110]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4311f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x112c]
call fcn.00401e30
mov edx, dword [0x594ad0]
push 0x80
lea ecx, [ebp - 0x110]
push ecx
push 0x2e80
push edx
call esi
lea eax, [ebp - 0x110]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x431235
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x113c]
call fcn.00401e30
mov edx, dword [0x594ad0]
push 0x80
lea ecx, [ebp - 0x110]
push ecx
push 0x2e81
push edx
call esi
lea eax, [ebp - 0x110]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x431280
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x1130]
call fcn.00401e30
mov edx, dword [0x594ad0]
push 0x80
lea ecx, [ebp - 0x110]
push ecx
push 0x2e82
push edx
call esi
lea eax, [ebp - 0x110]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4312c5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x1144]
call fcn.00401e30
mov edx, dword [0x594ad0]
push 0x80
lea ecx, [ebp - 0x110]
push ecx
push 0x2e7c
push edx
call esi
lea eax, [ebp - 0x110]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x431310
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x1118]
call fcn.00401e30
mov esi, dword [ebp - 0x1118]
push ecx
mov edi, esp
add esi, 0xfffffff0
mov dword [ebp - 0x1168], esp
push esi
mov dword [ebp - 0x111c], edi
call fcn.00401500
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x1144]
mov ebx, esp
add edi, 0xfffffff0
mov dword [ebp - 0x115c], esp
push edi
mov dword [ebp - 0x111c], ebx
call fcn.00401500
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x14
mov ebx, dword [ebp - 0x1130]
add ebx, 0xfffffff0
mov dword [ebp - 0x1160], esp
mov dword [ebp - 0x1114], esp
push ebx
call fcn.00401500
mov ecx, dword [ebp - 0x1114]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x113c]
add eax, 0xfffffff0
mov dword [ebp - 0x1164], esp
mov dword [ebp - 0x1114], esp
push eax
mov dword [ebp - 0x1120], eax
call fcn.00401500
mov edx, dword [ebp - 0x1114]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x112c]
add eax, 0xfffffff0
mov dword [ebp - 0x1150], esp
mov dword [ebp - 0x1114], esp
push eax
mov dword [ebp - 0x1140], eax
call fcn.00401500
mov ecx, dword [ebp - 0x1114]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x1134]
add eax, 0xfffffff0
mov dword [ebp - 0x1154], esp
mov dword [ebp - 0x1114], esp
push eax
mov dword [ebp - 0x1124], eax
call fcn.00401500
mov edx, dword [ebp - 0x1114]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x1128]
add eax, 0xfffffff0
mov dword [ebp - 0x1158], esp
mov dword [ebp - 0x111c], esp
push eax
mov dword [ebp - 0x1114], eax
call fcn.00401500
mov ecx, dword [ebp - 0x111c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x1148]
lea edx, [ebp - 0x1138]
push edx
push eax
lea ecx, [ebp - 0x1110]
push ecx
mov byte [ebp - 4], 0x10
call fcn.0049aba0
add esp, 0x28
test eax, eax
jne 0x43155a
mov byte [ebp - 4], 0xe
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4314b2
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 0x4314cf
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 0x4314ec
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 - 0x1120]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43150f
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 - 0x1140]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431532
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 - 0x1124]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431555
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43162c
mov ecx, dword [ebp - 0x114c]
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 0x431589
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 0x4315a6
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 0x4315c3
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 - 0x1120]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4315e6
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 - 0x1140]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431609
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 - 0x1124]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43162c
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 - 0x1114]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431652
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f0194
mov esp, ebp
pop ebp
ret 0x10