Function at 0x5313f0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5724ea
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
push str.Wed_Jun_10_09:50:13_2015
push 0xe9
push str.CCommitStallWnd::OnLButtonUp
push str.GameProcessCommitStallWnd.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x250]
add ecx, 0x2b8
mov edx, dword [ebp - 0x250]
mov eax, dword [edx + 0x2b8]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x5314cf
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x2eb4
call fcn.004f67e0
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [0x66ada0], 0
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x2eb4
call fcn.004f67e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 0x245], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x245]
jmp 0x531882
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x250]
add ecx, 0x3e8
mov eax, dword [ebp - 0x250]
mov edx, dword [eax + 0x3e8]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x53153d
lea ecx, [ebp - 0x1c]
call fcn.0043b330
mov edx, 0xea64
mov word [ebp - 0x18], dx
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x7c46b0
call fcn.005063f0
mov byte [ebp - 0x246], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x246]
jmp 0x531882
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x250]
add ecx, 0x518
mov eax, dword [ebp - 0x250]
mov edx, dword [eax + 0x518]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x5315fd
lea ecx, [ebp - 0x28]
call fcn.0043b330
mov edx, 0xea63
mov word [ebp - 0x24], dx
mov eax, dword [ebp - 0x250]
add eax, 0x1b4
push eax
mov ecx, dword [ebp - 0x250]
add ecx, 0xb0
push ecx
push str._s__s
lea edx, [ebp - 0x134]
push edx
call fcn.005456a9
add esp, 0x10
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x7c46b0
call fcn.005063f0
push 0x104
push 0
mov edx, dword [ebp - 0x250]
add edx, 0x1b4
push edx
call fcn.005454d0
add esp, 0xc
mov byte [ebp - 0x247], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x247]
jmp 0x531882
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x250]
add ecx, 0x648
call fcn.004d1100
movzx edx, al
test edx, edx
je 0x53163e
mov byte [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x248]
jmp 0x531882
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x250]
add edx, 0x2e9c
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x531778
cmp dword [0x66ada0], 2
jne 0x531693
push 0x103
mov eax, dword [ebp - 0x250]
add eax, 0x1b4
push eax
mov ecx, dword [ebp - 0x250]
add ecx, 0x2eb4
call fcn.004f67e0
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp - 0x250]
add ecx, 0xb0
push ecx
mov ecx, dword [ebp - 0x250]
add ecx, 0x2eb4
call fcn.004f67e0
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [0x66ada0], 1
push 1
push 0xe
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x250]
mov ecx, dword [edx + 0x2ea4]
sub ecx, dword [eax + 0x2e9c]
push ecx
mov edx, dword [ebp - 0x250]
mov eax, dword [edx + 0x2ea0]
mov ecx, dword [0x69edd6]
lea edx, [ecx + eax + 3]
push edx
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 0x2e9c]
mov edx, dword [0x69edd2]
lea eax, [edx + ecx - 1]
push eax
mov ecx, dword [ebp - 0x250]
add ecx, 0x2eb4
call fcn.004f67e0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
mov ecx, dword [ebp - 0x250]
add ecx, 0x2eb4
call fcn.004f67e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0xb1
mov ecx, dword [ebp - 0x250]
add ecx, 0x2eb4
call fcn.004f67e0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x250]
add ecx, 0x2eb4
call fcn.004f67e0
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 0x138], 0
jmp 0x531793
mov ecx, dword [ebp - 0x138]
add ecx, 1
mov dword [ebp - 0x138], ecx
cmp dword [ebp - 0x138], 0xc
jge 0x53185c
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x138]
imul ecx, ecx, 0x354
mov edx, dword [ebp - 0x250]
lea eax, [edx + ecx + 0x9b8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x531857
mov ecx, dword [ebp - 0x138]
imul ecx, ecx, 0x354
mov edx, dword [ebp - 0x250]
movzx eax, byte [edx + ecx + 0x67c]
test eax, eax
jne 0x531855
movzx ecx, byte [0x6eef44]
test ecx, ecx
je 0x531855
cmp dword [0x6eef4a], 1
je 0x53180b
cmp dword [0x6eef4a], 4
jne 0x531855
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x138]
mov dword [edx + 0x2eac], eax
push 0x7ad726
push 0x588500
lea ecx, [ebp - 0x244]
push ecx
call fcn.005456a9
add esp, 0xc
push 0xa
push 0x29
lea edx, [ebp - 0x244]
push edx
mov ecx, 0x6eeef8
call fcn.0049e060
mov dword [0x6ef668], 0x13
jmp 0x53185c
jmp 0x531784
mov eax, dword [ebp - 0x250]
mov byte [eax + 0x37], 0
mov byte [ebp - 0x249], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x249]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret 8