Function at 0x519400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570ba2
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x28], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push str.Tue_Jun__9_21:48:49_2015
push 0x15f
push str.CCharacterProcess::OnLButtonUp
push str.CharSelectProcessCharacterProcess.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x50]
mov dword [edx + 0xbb10], ecx
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x50]
mov dword [edx + 0xbb14], ecx
mov eax, dword [ebp - 0x50]
mov byte [eax + 0xbb1c], 0
movzx ecx, byte [0x69d4b6]
test ecx, ecx
je 0x5194e8
mov edx, dword [ebp + 0xc]
and edx, 0xffff
movzx esi, dx
imul esi, esi, 0x280
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx esi, dx
imul esi, esi, 0x1e0
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
shl edx, 0x10
or edx, dword [ebp - 0x1c]
mov dword [ebp + 0xc], edx
jmp 0x519508
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xbd88
call fcn.00516820
movzx ecx, al
test ecx, ecx
je 0x51952e
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x50]
call fcn.0051c500
jmp 0x5199a9
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xbaf0]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 8
je 0x51954f
cmp dword [ebp - 0x54], 9
je 0x519723
jmp 0x5199a9
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x91c
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x91c]
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 1
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 5
ja case.0x51958d.4
mov edx, dword [ebp - 0x58]
jmp dword [edx*4 + 0x5199e0]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x934], 0xb
push 0x574a9b
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp case.0x51958d.4
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xbb5c], 3
push 0x586b38
push 0x575830
mov edx, dword [ebp - 0x50]
add edx, 0xbb80
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x1a4
push 1
mov eax, dword [ebp - 0x50]
add eax, 0xbb80
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xbd88
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xbd88]
mov edx, dword [eax + 0x2c]
call edx
mov eax, dword [ebp - 0x50]
mov byte [eax + 0xc5ec], 0
jmp case.0x51958d.4
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xbb5c], 5
push 0x586b10
push 0x575830
mov edx, dword [ebp - 0x50]
add edx, 0xbb80
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x1a4
push 2
mov eax, dword [ebp - 0x50]
add eax, 0xbb80
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xbd88
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xbd88]
mov edx, dword [eax + 0x2c]
call edx
mov eax, dword [ebp - 0x50]
mov byte [eax + 0xc5ec], 1
mov byte [0x7c0e68], 0
push 0x574a9b
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0x2a
push 0xcc
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x51958d.4
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xbb5c], 8
push 0x1a4
push 1
mov edx, dword [ebp - 0x50]
add edx, 0xbb80
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0xbd88
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0xbd88]
mov eax, dword [edx + 0x2c]
call eax
jmp case.0x51958d.4
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xbb5c], 7
push 0x1a4
push 1
mov edx, dword [ebp - 0x50]
add edx, 0xbb80
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0xbd88
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0xbd88]
mov eax, dword [edx + 0x2c]
call eax
jmp 0x5199a9
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xbb14]
push edx
mov eax, dword [ecx + 0xbb10]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xbb38
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x519752
mov edx, dword [ebp - 0x50]
mov byte [edx + 0xbb61], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xbb14]
push ecx
mov edx, dword [eax + 0xbb10]
push edx
mov eax, dword [ebp - 0x50]
add eax, 0xbb48
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x519780
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0xbb61], 1
mov dword [ebp - 0x20], 0
jmp 0x519792
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 4
jg 0x5199a9
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xbb58]
mov dword [edx + eax + 0x18], 1
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x1c
mov edx, dword [ebp - 0x50]
add ecx, dword [edx + 0xbb58]
call fcn.005132b0
movzx eax, al
test eax, eax
je case.default.0x519801
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 4
ja case.default.0x519801
mov edx, dword [ebp - 0x5c]
jmp dword [edx*4 + 0x5199f8]
mov eax, dword [ebp - 0x50]
mov byte [eax + 0xbb60], 0
jmp case.default.0x519801
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0xbb60], 1
jmp case.default.0x519801
mov edx, dword [ebp - 0x50]
mov byte [edx + 0xbb60], 2
jmp case.default.0x519801
push 0x14
mov eax, dword [ebp - 0x50]
add eax, 0xbb6c
push eax
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp - 0x50]
add ecx, 0xbb6c
push ecx
call fcn.00545a90
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x519925
lea ecx, [ebp - 0x48]
call fcn.0051cbc0
mov edx, dword [ebp - 0x50]
add edx, 0xbb6c
push edx
push 0x1a
lea eax, [ebp - 0x44]
push eax
call fcn.005477d6
add esp, 0xc
mov ecx, dword [ebp - 0x50]
mov dl, byte [ecx + 0xbb60]
mov byte [ebp - 0x48], dl
mov eax, dword [ebp - 0x50]
mov cl, byte [eax + 0xbb61]
mov byte [ebp - 0x47], cl
mov edx, 1
mov word [ebp - 0x46], dx
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 0xbb61]
push ecx
mov edx, dword [ebp - 0x50]
movzx eax, byte [edx + 0xbb60]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xbb6c
push ecx
push 0x69e110
mov ecx, 0x7c46b0
call fcn.005069d0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0xbb68], 0
push 3
mov ecx, dword [ebp - 0x50]
add ecx, 0x554
call fcn.00517ee0
push str..SoundCreateChr.wav
mov ecx, 0x69e668
call fcn.005241e0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xbaf0], 0x1f
mov ecx, 0x7c46b0
call fcn.005068d0
jmp 0x519976
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xbb5c], 2
push 0x586ae8
push 0x575830
mov edx, dword [ebp - 0x50]
add edx, 0xbb80
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x1a4
push 1
mov eax, dword [ebp - 0x50]
add eax, 0xbb80
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xbd88
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xbd88]
mov edx, dword [eax + 0x2c]
call edx
jmp case.default.0x519801
push 3
mov ecx, dword [ebp - 0x50]
add ecx, 0x554
call fcn.00517ee0
push str..SoundCreateChr.wav
mov ecx, 0x69e668
call fcn.005241e0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xbaf0], 0x1f
jmp 0x519789
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret 8