Function at 0x4594e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x503040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x503264], 0x10
push ebx
push esi
push edi
mov esi, ecx
mov ebx, 0x503250
mov edi, ebx
cmovae edi, dword [0x503250]
mov dword [ebp - 0x40c], edi
mov ecx, dword [esi + 0x294]
mov edi, dword [sym.imp.MSVCR120.dll_strcpy_s]
test ecx, ecx
je 0x459573
push 0x4df714
call fcn.004693d0
test eax, eax
je 0x459573
push str.TPDIR
mov ecx, eax
call fcn.004690a0
test eax, eax
je 0x459573
mov eax, dword [eax + 0x20]
test eax, eax
je 0x459573
push eax
lea eax, [ebp - 0x408]
push 0x400
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x459573
lea eax, [ebp - 0x408]
push eax
push str.TPDIR
push 0
call sym.NewThirdpartyServer.exe_GSetProperty
jmp 0x45958a
push dword [ebp - 0x40c]
lea eax, [ebp - 0x408]
push 0x400
push eax
call edi
add esp, 0xc
cmp dword [0x503264], 0x10
mov eax, ebx
mov ecx, dword [esi + 0x294]
cmovae eax, dword [0x503250]
mov dword [ebp - 0x40c], eax
test ecx, ecx
je 0x4595eb
push 0x4df714
call fcn.004693d0
test eax, eax
je 0x4595e5
push str.EXECPATH
mov ecx, eax
call fcn.004690a0
test eax, eax
je 0x4595e5
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4595e5
push eax
lea eax, [ebp - 0x408]
push 0x400
push eax
call edi
add esp, 0xc
test eax, eax
je 0x45961e
mov eax, dword [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push 0x400
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x408]
push 0x400
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x408]
call fcn.00467f70
lea eax, [ebp - 0x408]
push eax
push str.EXECPATH
push 0
call sym.NewThirdpartyServer.exe_GSetProperty
cmp dword [0x503264], 0x10
mov eax, ebx
mov ecx, dword [esi + 0x294]
cmovae eax, dword [0x503250]
mov dword [ebp - 0x40c], eax
test ecx, ecx
je 0x45969a
push 0x4df714
call fcn.004693d0
test eax, eax
je 0x459694
push str.PROCID
mov ecx, eax
call fcn.004690a0
test eax, eax
je 0x459694
mov eax, dword [eax + 0x20]
test eax, eax
je 0x459694
push eax
lea eax, [ebp - 0x408]
push 0x400
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x459694
lea eax, [ebp - 0x408]
jmp 0x4596c8
mov eax, dword [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push 0x400
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x408]
push 0x400
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4596d5
lea eax, [esi + 0x60]
push eax
push str.PROCID
push 0
call sym.NewThirdpartyServer.exe_GSetProperty
cmp dword [0x503264], 0x10
mov ecx, dword [esi + 0x294]
cmovae ebx, dword [0x503250]
test ecx, ecx
je 0x459728
push 0x4df714
call fcn.004693d0
test eax, eax
je 0x459728
push str.LOCALIP
mov ecx, eax
call fcn.004690a0
test eax, eax
je 0x459728
mov eax, dword [eax + 0x20]
test eax, eax
je 0x459728
push eax
lea eax, [ebp - 0x408]
push 0x400
push eax
call edi
add esp, 0xc
test eax, eax
je 0x45976a
push ebx
lea eax, [ebp - 0x408]
push 0x400
push eax
call edi
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x459742
mov esi, dword [esi]
test esi, esi
je 0x45974e
cmp byte [esi], 0
je 0x45974e
push esi
jmp 0x459771
push ecx
lea ecx, [ebp - 0x408]
call fcn.0045eab0
add esp, 4
test eax, eax
jne 0x45976a
call fcn.0040fd30
test eax, eax
je 0x45977d
lea eax, [ebp - 0x408]
push eax
push str.LOCALIP
push 0
call sym.NewThirdpartyServer.exe_GSetProperty
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b73db
mov esp, ebp
pop ebp
ret