Function at 0x418d80
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c395b
mov eax, dword fs:[0]
push eax
mov eax, 0x1248
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0x125c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x126c]
mov ebx, dword [esi + 0x13e0]
cmp byte [ebx + 0x3946], 0
mov edi, dword [esp + 0x1270]
mov ebp, dword [esp + 0x1274]
je 0x419132
cmp byte [0x507cf0], 0
je 0x419132
cmp byte [esi + 0x8ee0], 0
jne 0x419132
mov ecx, dword [0x51b784]
push 0x200
lea eax, [esp + 0x65c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x34a
call fcn.004671c0
push eax
call fcn.0048d1d0
call fcn.0048d8e0
push 2
push 0
push 0
mov ecx, esi
call fcn.00434ff0
cmp dword [ebx + 0x3930], 0
je 0x418e4e
or word [esi + 0x67ec], 0x40
mov ecx, esi
call fcn.004347e0
mov ecx, edx
mov word [esi + 0x67f0], dx
mov edx, dword [esi + 0x8eec]
push 0
add edx, 7
push 0
sar ecx, 0x1f
push edx
mov ecx, esi
mov dword [esi + 0x67f4], eax
call fcn.00434ff0
push 0
push 0x73
mov ecx, esi
call fcn.0040c420
push 2
push 0
push 0
mov ecx, esi
call fcn.00434ff0
push 0
lea ecx, [esp + 0x18]
call fcn.0045d810
mov dword [esp + 0x1264], 0
push 0x400
lea eax, [esp + 0xa5c]
push eax
push ebp
push edi
call fcn.004566d0
push edi
call fcn.004567a0
lea ecx, [esp + 0xa58]
push ecx
mov ebx, eax
call fcn.00456820
mov edi, eax
push edi
call fcn.004708e0
test al, al
je 0x418f11
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418ee4
sub eax, edx
mov edi, eax
push edi
lea ecx, [esp + 0x18]
call fcn.0045d5b0
push edi
push ebx
lea ecx, [esp + 0x1c]
call fcn.0045d6e0
push 0
lea ecx, [esp + 0x18]
call fcn.0045d5b0
jmp 0x418f47
push 0
lea ecx, [esp + 0x18]
call fcn.0045d5b0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f21
sub eax, edx
sar eax, 1
mov ebx, eax
push ebx
lea ecx, [esp + 0x18]
call fcn.0045d5b0
push ebx
push edi
lea ecx, [esp + 0x1c]
call fcn.0045d750
push 0x100
lea edx, [esp + 0x25c]
push edx
push 0
push 0x507cf8
call fcn.004184d0
mov bl, al
mov eax, 0x507cf8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418f70
sub eax, edx
mov edi, eax
push edi
lea ecx, [esp + 0x18]
call fcn.0045d5b0
push edi
push 0x507cf8
lea ecx, [esp + 0x1c]
call fcn.0045d6e0
lea eax, [esp + 0x258]
push eax
call fcn.004708e0
test al, al
jne 0x418fe2
test bl, bl
jne 0x418fe2
lea eax, [esp + 0x258]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418fb3
sub eax, edx
sar eax, 1
mov edi, eax
push edi
lea ecx, [esp + 0x18]
call fcn.0045d5b0
push edi
lea ecx, [esp + 0x25c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045d750
jmp 0x418fed
push 0
lea ecx, [esp + 0x18]
call fcn.0045d5b0
push 0
push 0
push 0
mov ecx, esi
call fcn.00434ff0
lea edx, [esp + 0x458]
push edx
push 0x507ff8
push esi
call fcn.0042a2a0
push 2
push 0
push 0
mov ecx, esi
call fcn.00434ff0
lea eax, [esp + 0x558]
push eax
lea ecx, [esp + 0x45c]
push ecx
call fcn.004707b0
lea edx, [esp + 0x58]
push edx
push 0x507ef8
mov edi, eax
call fcn.004707b0
mov ebx, eax
lea eax, [esp + 0x158]
push eax
push 0x5080f8
call fcn.004707b0
push edi
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.0045d550
push edi
lea ecx, [esp + 0x55c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045d6e0
push ebx
lea ecx, [esp + 0x18]
call fcn.0045d550
push ebx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0045d6e0
push ebp
lea ecx, [esp + 0x18]
call fcn.0045d550
push ebp
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0045d6e0
lea ecx, [esp + 0x34]
call fcn.004129c0
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.004348b0
lea ecx, [esp + 0x34]
call fcn.004739d0
push eax
lea ecx, [esp + 0x18]
call fcn.0045d620
push 0
lea ecx, [esi + 0x7510]
call fcn.0040d440
lea eax, [esi + 0x8140]
mov edx, 0x4000
or word [esi + 0x7518], dx
push eax
lea ecx, [esp + 0x18]
call fcn.0045d9d0
push 0
push 0x4c79c8
push 0
push 0
push 0
mov ecx, esi
call fcn.0040cb60
lea ecx, [esp + 0x658]
push ecx
call fcn.0048d1d0
call fcn.0048d8e0
mov dword [esp + 0x1264], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0045d8c0
mov ecx, dword [esp + 0x125c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1244]
xor ecx, esp
call fcn.004b102c
add esp, 0x1254
ret 0xc