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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570d35
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], ecx
push str.Tue_Jun__9_21:48:49_2015
push 0x471
push str.CCharacterProcess::MessageBoxProcess
push str.CharSelectProcessCharacterProcess.cpp
lea ecx, [ebp - 0x11]
call fcn.004024e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov eax, dword [ebp - 0x15c]
mov edx, dword [eax + 0xbd88]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0x80
je 0x51c662
mov edx, dword [ebp - 0x10]
xor edx, 0x80
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x160]
sub eax, 1
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 7
ja case.0x51c5dc.2
mov ecx, dword [ebp - 0x160]
jmp dword [ecx*4 + 0x51c984]
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0xbd88]
mov edx, dword [eax + 0xc]
call edx
jmp case.0x51c5dc.2
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov eax, dword [ebp - 0x15c]
mov edx, dword [eax + 0xbd88]
mov eax, dword [edx + 0xc]
call eax
jmp case.0x51c5dc.2
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0xbd88]
mov edx, dword [eax + 0xc]
call edx
jmp case.0x51c5dc.2
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov eax, dword [ebp - 0x15c]
mov edx, dword [eax + 0xbd88]
mov eax, dword [edx + 0xc]
call eax
jmp 0x51c94a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x164]
sub edx, 1
mov dword [ebp - 0x164], edx
cmp dword [ebp - 0x164], 7
ja case.0x51c68d.2
mov eax, dword [ebp - 0x164]
jmp dword [eax*4 + 0x51c9a4]
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0xbd88]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 0xbb5c]
mov dword [ebp - 0x168], ecx
cmp dword [ebp - 0x168], 0x67
je 0x51c6ce
jmp 0x51c6e6
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 0x15c]
mov dword [edx + 0xbb5c], 0
jmp case.0x51c68d.2
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov eax, dword [ebp - 0x15c]
mov edx, dword [eax + 0xbd88]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + 0xbb5c]
mov dword [ebp - 0x16c], edx
cmp dword [ebp - 0x16c], 5
je 0x51c728
jmp 0x51c8f2
mov byte [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov word [ebp - 0x27], ax
mov byte [ebp - 0x25], al
push 0x14
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x20]
call fcn.00466d40
mov dword [ebp - 0x40], 0
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbb20
call fcn.00437d00
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
jmp 0x51c7a0
push 0
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004f6740
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbb20
call fcn.0051cb30
push eax
lea ecx, [ebp - 0x20]
call fcn.00405200
movzx ecx, al
test ecx, ecx
je 0x51c7db
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x40]
cmp eax, dword [edx + 0x938]
jge 0x51c7db
jmp 0x51c786
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x154]
push ecx
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbb20
call fcn.0051cb30
push eax
lea ecx, [ebp - 0x20]
call fcn.00405200
movzx edx, al
test edx, edx
je 0x51c817
lea ecx, [ebp - 0x20]
call fcn.0044a2c0
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x51c89b
mov byte [ebp - 0x144], 0
push 0xff
push 0
lea ecx, [ebp - 0x143]
push ecx
call fcn.005454d0
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
add eax, 4
push eax
push str._s__s
lea ecx, [ebp - 0x144]
push ecx
call fcn.005456a9
add esp, 0x10
mov edx, dword [0x69d4b0]
mov dword [ebp - 0x170], edx
cmp dword [ebp - 0x170], 0
je 0x51c879
cmp dword [ebp - 0x170], 1
je 0x51c88a
jmp 0x51c89b
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x7c46b0
call fcn.00506c10
lea ecx, [ebp - 0x144]
push ecx
mov ecx, 0x7c46b0
call fcn.00506ad0
mov byte [0x7c0e68], 0
push 0x574a9b
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x15c]
mov byte [edx + 0xc5ec], 0
mov ecx, 0x7c46b0
call fcn.005068d0
mov eax, dword [ebp - 0x15c]
mov dword [eax + 0xbb68], 0
jmp case.0x51c68d.2
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0xbd88]
mov edx, dword [eax + 0xc]
call edx
jmp case.0x51c68d.2
mov ecx, dword [ebp - 0x15c]
add ecx, 0xbd88
mov eax, dword [ebp - 0x15c]
mov edx, dword [eax + 0xbd88]
mov eax, dword [edx + 0xc]
call eax
push 0
push 0
push 0xcc
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 0x155], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11]
call fcn.00402620
mov al, byte [ebp - 0x155]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret 4