Function at 0x418050
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ad83b
mov eax, dword fs:[0]
push eax
mov eax, 0x1048
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1044], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x105c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x106c]
mov ebx, dword [esi + 0x13d8]
cmp byte [ebx + 0x28c2], 0
mov edi, dword [esp + 0x1070]
mov ebp, dword [esp + 0x1074]
je 0x4183de
cmp byte [0x4c8d50], 0
je 0x4183de
cmp byte [esi + 0x7600], 0
jne 0x4183de
mov ecx, dword [0x4db83c]
push 0x200
lea eax, [esp + 0x65c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x349
call fcn.0045bde0
push eax
call fcn.0047f6f0
call fcn.0047fef0
push 2
push 0
push 0
mov ecx, esi
call fcn.0042f0a0
cmp dword [ebx + 0x28ac], 0
je 0x41811e
or word [esi + 0x4f0c], 0x40
mov ecx, esi
call fcn.0042e990
mov ecx, edx
mov word [esi + 0x4f10], dx
mov edx, dword [esi + 0x760c]
push 0
add edx, 7
push 0
sar ecx, 0x1f
push edx
mov ecx, esi
mov dword [esi + 0x4f14], eax
call fcn.0042f0a0
push 0
push 0x73
mov ecx, esi
call fcn.0040b8d0
push 2
push 0
push 0
mov ecx, esi
call fcn.0042f0a0
push 0
lea ecx, [esp + 0x18]
call fcn.00453bc0
mov dword [esp + 0x1064], 0
lea eax, [esp + 0x858]
push eax
push ebp
push edi
call fcn.0044daf0
push edi
call fcn.0044db30
lea ecx, [esp + 0x858]
push ecx
mov ebx, eax
call fcn.0044dbb0
mov edi, eax
push edi
call fcn.004652a0
test al, al
je 0x4181dd
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4181b0
sub eax, edx
mov edi, eax
push edi
lea ecx, [esp + 0x18]
call fcn.00453960
push edi
push ebx
lea ecx, [esp + 0x1c]
call fcn.00453a90
push 0
lea ecx, [esp + 0x18]
call fcn.00453960
jmp 0x418205
push 0
lea ecx, [esp + 0x18]
call fcn.00453960
push edi
call fcn.0046dac0
mov ebx, eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00453960
push ebx
push edi
lea ecx, [esp + 0x1c]
call fcn.00453b00
push 0x100
lea edx, [esp + 0x25c]
push edx
push 0
push 0x4c8d58
call fcn.00417820
mov bl, al
mov eax, 0x4c8d58
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418228
sub eax, edx
mov edi, eax
push edi
lea ecx, [esp + 0x18]
call fcn.00453960
push edi
push 0x4c8d58
lea ecx, [esp + 0x1c]
call fcn.00453a90
lea eax, [esp + 0x258]
push eax
call fcn.004652a0
test al, al
jne 0x41828e
test bl, bl
jne 0x41828e
lea ecx, [esp + 0x258]
push ecx
call fcn.0046dac0
mov edi, eax
push edi
lea ecx, [esp + 0x18]
call fcn.00453960
push edi
lea edx, [esp + 0x25c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00453b00
jmp 0x418299
push 0
lea ecx, [esp + 0x18]
call fcn.00453960
push 0
push 0
push 0
mov ecx, esi
call fcn.0042f0a0
lea eax, [esp + 0x458]
push eax
push 0x4c9058
push esi
call fcn.004253c0
push 2
push 0
push 0
mov ecx, esi
call fcn.0042f0a0
lea ecx, [esp + 0x558]
push ecx
lea edx, [esp + 0x45c]
push edx
call fcn.00465170
mov edi, eax
lea eax, [esp + 0x58]
push eax
push 0x4c8f58
call fcn.00465170
lea ecx, [esp + 0x158]
push ecx
push 0x4c9158
mov ebx, eax
call fcn.00465170
push edi
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00453900
push edi
lea edx, [esp + 0x55c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00453a90
push ebx
lea ecx, [esp + 0x18]
call fcn.00453900
push ebx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00453a90
push ebp
lea ecx, [esp + 0x18]
call fcn.00453900
push ebp
lea ecx, [esp + 0x15c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453a90
lea ecx, [esp + 0x34]
call fcn.004680a0
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0042ea30
lea ecx, [esp + 0x34]
call fcn.00467ef0
push eax
lea ecx, [esp + 0x18]
call fcn.004539d0
push 0
lea ecx, [esi + 0x5c30]
call fcn.0040c010
lea ecx, [esi + 0x6860]
mov eax, 0x4000
or word [esi + 0x5c38], ax
push ecx
lea ecx, [esp + 0x18]
call fcn.00453d80
push 0
push 0x4b18bc
push 0
push 0
push 0
mov ecx, esi
call fcn.0040c060
lea edx, [esp + 0x658]
push edx
call fcn.0047f6f0
call fcn.0047fef0
mov dword [esp + 0x1064], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00453c70
mov ecx, dword [esp + 0x105c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1044]
xor ecx, esp
call fcn.0049dea6
add esp, 0x1054
ret 0xc