Function at 0x481930
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4dc38b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 1
cmp cl, byte [edx + 2]
push edi
sbb edi, edi
and edi, dword [0x51ae0c]
xor ebx, ebx
mov dword [esp + 0x24], edi
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x234], ebx
cmp word [eax], bx
je 0x481ca5
push 0xfd
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004cb3f1
add esp, 0xc
lea edx, [esp + 0x28]
xor ecx, ecx
push edx
mov word [esp + 0x226], cx
call dword [sym.imp.USER32.dll_CharLowerW]
mov eax, 0x4ef428
mov ecx, esi
call fcn.004ac420
cmp esi, eax
jne 0x4819d3
lea ebp, [ebx + 1]
jmp 0x4819ec
mov eax, 0x50a7c8
mov ecx, esi
call fcn.004ac420
cmp esi, eax
jne 0x481ca5
mov ebp, 2
push str._8_9_62
mov dword [esp + 0x24], ebp
call fcn.004a4b10
add esp, 4
lea ecx, [esp + 0x28]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x481a27
cmp dx, bx
je 0x481a23
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x481a27
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x481a01
xor eax, eax
jmp 0x481a2c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x481a3c
mov bl, 1
mov ebp, 0x51e5e8
jmp 0x481bcd
push str._8___9__
call fcn.004a4b10
add esp, 4
lea ecx, [esp + 0x28]
lea ecx, [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x481a76
cmp dx, bx
je 0x481a72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x481a76
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x481a50
xor eax, eax
jmp 0x481a7b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x481b39
xor bl, bl
mov byte [esp + 0x13], bl
mov ebp, 0x51e5dc
mov byte [esp + 0x12], 1
test edi, edi
je 0x481ad1
mov eax, dword [0x51aed0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea edi, [ebx + ebx]
lea esi, [esp + 0x14]
call fcn.00414050
test eax, eax
je 0x481be0
mov ecx, dword [esp + 0x18]
mov edx, dword [0x51aed0]
push ebx
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov bl, byte [esp + 0x13]
cmp dword [esp + 0x20], 2
jne 0x481ca0
test bl, bl
jne 0x481ca5
cmp byte [esp + 0x12], bl
je 0x481ca0
cmp ebp, 0x51e5dc
jne 0x481b13
mov eax, dword [esp + 0x244]
mov ecx, dword [0x51aed0]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
je 0x481ca5
mov ebx, dword [esp + 0x244]
mov eax, ebp
call fcn.00414350
test eax, eax
jne 0x481ca0
lea ecx, [esp + 0x14]
call fcn.00413fb0
xor eax, eax
jmp 0x481d67
push str.78__4_6
call fcn.004a4b10
add esp, 4
lea ecx, [esp + 0x28]
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x481b76
cmp dx, bx
je 0x481b72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x481b76
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x481b50
xor eax, eax
jmp 0x481b7b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x481b86
mov ebp, 0x51e5f4
jmp 0x481bcb
push str.8_.___
call fcn.004a4b10
add esp, 4
lea ecx, [esp + 0x28]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x481bbd
cmp dx, bx
je 0x481bb9
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x481bbd
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x481b97
xor eax, eax
jmp 0x481bc2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x481bf0
mov ebp, 0x51e600
xor bl, bl
mov edi, ebp
lea esi, [esp + 0x14]
call fcn.004140c0
test eax, eax
jne 0x481ad1
lea ecx, [esp + 0x14]
call fcn.00413fb0
xor eax, eax
jmp 0x481d67
push str._24_.__:__50
call fcn.004a4b10
add esp, 4
lea ecx, [esp + 0x28]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x481c27
cmp dx, bx
je 0x481c23
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x481c27
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x481c01
xor eax, eax
jmp 0x481c2c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x481c7c
lea edx, [esp + 0x14]
push edx
call fcn.004a4cd0
add esp, 4
test al, al
je 0x481ca5
push str._____
call fcn.004a4b10
add esp, 4
push eax
mov eax, dword [esp + 0x248]
push eax
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x481ca0
push eax
call fcn.004a4cd0
add esp, 4
mov ebx, 0x4f5ac4
lea eax, [esp + 0x14]
call fcn.00414350
jmp 0x481ca0
lea esi, [esp + 0x14]
lea eax, [esp + 0x28]
call fcn.00482d10
cmp ebp, 2
jne 0x481ca0
mov ecx, dword [esp + 0x244]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00482c10
mov byte [esp + 0x11], 1
mov esi, dword [esp + 0x24]
xor ebx, ebx
cmp esi, ebx
je 0x481d2c
cmp byte [esp + 0x11], bl
je 0x481d25
mov edi, dword [esp + 0x18]
cmp edi, ebx
jne 0x481cc5
xor eax, eax
jmp 0x481cdf
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x481cd0
sub eax, edx
sar eax, 1
push eax
mov eax, esi
call fcn.004af6d0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
cmp byte [esi + 0x17], bl
jne 0x481cfd
mov eax, dword [esi + 0xc]
jmp 0x481cff
mov eax, esi
cmp byte [eax + 0x17], 2
jne 0x481d1f
cmp dword [0x51c0a8], ebx
je 0x481d1f
mov ecx, 0x51c09c
call fcn.004049a0
cmp eax, ebx
jne 0x481d2c
xor eax, eax
jmp 0x481d67
and byte [eax + 0x15], 0x86
jmp 0x481d2c
mov ecx, esi
call fcn.0041acb0
mov ecx, dword [esp + 0x23c]
xor eax, eax
cmp byte [esp + 0x11], al
sete al
push eax
push ecx
call fcn.0042dc30
mov edi, dword [esp + 0x18]
mov esi, eax
cmp edi, ebx
je 0x481d65
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
call fcn.004d2f90
add esp, 0xc
push edi
call fcn.004ca991
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x228
ret 0xc