Function at 0x48ebb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cf5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x530
push ebx
push esi
push edi
xor edi, edi
push 0xfe
lea eax, [ebp - 0x138]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x13c], edi
call fcn.00555020
push 0x1fa
lea ecx, [ebp - 0x338]
push edi
push ecx
mov dword [ebp - 0x33c], edi
call fcn.00555020
push 0x1fa
lea edx, [ebp - 0x538]
push edi
push edx
mov dword [ebp - 0x53c], edi
call fcn.00555020
mov eax, dword [ebx + 0x20]
add esp, 0x24
push edi
push edi
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
jne 0x48ec4e
call fcn.004f03c0
mov ecx, dword [ebx + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x48efb6
mov eax, dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xff
lea edx, [ebp - 0x33c]
push edx
push eax
call esi
lea eax, [ebp - 0x33c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48ec70
push 0xff
sub eax, edx
mov edx, dword [ebx + 0x28]
lea ecx, [ebp - 0x53c]
push ecx
sar eax, 1
push edx
mov dword [ebp - 0x20], eax
call esi
lea ecx, [ebp - 0x53c]
lea eax, [ebp - 0x33c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48ecc6
cmp dx, di
je 0x48ecc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48ecc6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x48eca0
xor eax, eax
jmp 0x48eccb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x48ed0a
mov ecx, dword [0x5fd7c0]
push 0x80
lea eax, [ebp - 0x13c]
push eax
push 0x9f
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebx + 4]
push 0x10
push 0x5a31c0
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x48efb6
mov ecx, dword [ebx + 0x20]
push edi
push edi
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [0x5f76ac], 1
jne 0x48ed49
or dword [0x5f76ac], 1
mov dword [ebp - 4], edi
push 2
push 0x800
call fcn.005553ec
add esp, 8
mov dword [0x5f76a8], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [0x5f76a8], edi
je 0x48efb6
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x20], 0x800
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48ed65
sub eax, edx
sar eax, 1
cmp eax, edi
jne 0x48edb2
mov eax, dword [0x5fd7c0]
push 0x80
lea edx, [ebp - 0x13c]
push edx
push 0xc2
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [ebx + 4]
push 0x10
push 0x5a31c0
lea ecx, [ebp - 0x13c]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x48efb6
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov bl, 8
mov byte [ebp - 4], bl
mov ecx, dword [0x5fd7c0]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x80
lea eax, [ebp - 0x13c]
push eax
push 0x2e7d
push ecx
call esi
lea edx, [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0040b5a0
mov ecx, dword [0x5fd7c0]
push 0x80
lea eax, [ebp - 0x13c]
push eax
push 0x2e7e
push ecx
call esi
lea edx, [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040b5a0
mov ecx, dword [0x5fd7c0]
push 0x80
lea eax, [ebp - 0x13c]
push eax
push 0x2e7f
push ecx
call esi
lea edx, [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040b5a0
mov ecx, dword [0x5fd7c0]
push 0x80
lea eax, [ebp - 0x13c]
push eax
push 0x2e80
push ecx
call esi
lea edx, [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b5a0
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x34], esp
push eax
mov dword [ebp - 0x28], esi
call fcn.004021d0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 0x30], esi
call fcn.004021d0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x30], esp
push eax
mov dword [ebp - 0x24], esi
call fcn.004021d0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x24], esp
push eax
mov dword [ebp - 0x38], esi
call fcn.004021d0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [0x5f76a8]
lea eax, [ebp - 0x20]
push eax
push ecx
lea edx, [ebp - 0x33c]
push edx
mov byte [ebp - 4], bl
call fcn.004f0630
add esp, 0x1c
cmp eax, edi
je 0x48ef83
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x5f76a8]
push eax
push ecx
call fcn.004f0330
add esp, 8
test eax, eax
je 0x48ef83
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00404d60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.00404d60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00404d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404d60
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