Function at 0x51a560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570c92
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push str.Tue_Jun__9_21:48:49_2015
push 0x2d3
push str.CCharacterProcess::RenderScene
push str.CharSelectProcessCharacterProcess.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x554
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x554]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x552]
test ecx, ecx
jne 0x51a6c7
mov dword [ebp - 0x14], 0
mov edx, dword [0x6658cc]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x51a5f9
cmp dword [ebp - 0x30], 1
je 0x51a602
jmp 0x51a609
mov dword [ebp - 0x14], 0x297
jmp 0x51a609
mov dword [ebp - 0x14], 0x4e0
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x4a]
test ecx, ecx
je 0x51a69c
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
mov ecx, 0x69ec08
call fcn.0040ceb0
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.0053c280
test eax, eax
je 0x51a69c
push 0xff
push 0xffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x73]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x6b]
movsx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x6b]
movsx ecx, word [eax]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x6b]
movsx ecx, word [eax + 2]
mov eax, 0x1e0
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
sub eax, 0x32
push eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x6b]
movsx ecx, word [eax]
mov eax, 0x280
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
mov ecx, 0x69ec08
call fcn.00536550
push 0
push 0x21
push 0
mov edx, dword [0x663bf8]
push edx
push 0x586ce8
push 0xffffff
push 0xb4
push 0xf0
mov ecx, 0x69ec08
call fcn.00538af0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xbaf0]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
sub edx, 8
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0x18
ja case.0x51a6f0.2
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 0x51aa74]
jmp dword [ecx*4 + 0x51aa58]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xbd88
call fcn.00516820
movzx edx, al
test edx, edx
jne 0x51a71f
push 0
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x934]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0xb
je 0x51a73f
cmp dword [ebp - 0x38], 0xc
je 0x51a775
cmp dword [ebp - 0x38], 0x13
je 0x51a7ab
jmp 0x51a7b8
push 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x554
call fcn.00517ee0
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xbaf0], 0x1e
mov ecx, dword [ebp - 0x2c]
add ecx, 0x91c
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x91c]
mov eax, dword [edx + 4]
call eax
jmp 0x51a7b8
push 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x554
call fcn.00517ee0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xbaf0], 0x20
mov ecx, dword [ebp - 0x2c]
add ecx, 0x91c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x91c]
mov edx, dword [eax + 4]
call edx
jmp 0x51a7b8
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x934], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x91c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x91c]
mov edx, dword [eax + 0x20]
call edx
jmp case.0x51a6f0.2
push 0
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x554
call fcn.00518110
cmp eax, 2
jne 0x51a812
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0xbaf0], 9
mov byte [0x7d8bd8], 0
jmp case.0x51a6f0.2
mov ecx, dword [0x7d8bd4]
add ecx, dword [ebp + 8]
mov dword [0x7d8bd4], ecx
cmp dword [0x7d8bd4], 0x7d0
jbe 0x51a861
call fcn.0040ada0
sub eax, dword [0x7d8bd0]
cmp eax, 0x6978
jbe 0x51a861
push 0
push str.._soundCreateChr.mp3
push 1
mov ecx, 0x69e668
call fcn.00524060
call fcn.0040ada0
mov dword [0x7d8bd0], eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.0051ac60
jmp case.0x51a6f0.2
push 0
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x554
call fcn.00518110
test eax, eax
jne 0x51a8ba
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0xbaf0], 8
mov ecx, dword [ebp - 0x2c]
add ecx, 0x91c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x91c]
mov edx, dword [eax]
call edx
jmp case.0x51a6f0.2
push 0
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x554
call fcn.00518110
cmp eax, 5
jne 0x51a918
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0xbaf0], 0xa
mov ecx, dword [ebp - 0x2c]
call fcn.00518920
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.00539990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
jmp 0x51aa3a
jmp case.0x51a6f0.2
push 0
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x21
push 0
mov ecx, dword [0x663bf4]
push ecx
push 0x57a8e0
push 0xff
push 0x19a
push 0xf0
mov ecx, 0x69ec08
call fcn.00538af0
mov edx, dword [0x7d8bcc]
and edx, 1
jne 0x51a985
mov eax, dword [0x7d8bcc]
or eax, 1
mov dword [0x7d8bcc], eax
mov byte [ebp - 4], 1
call fcn.0040ada0
mov dword [0x7d8bc8], eax
mov byte [ebp - 4], 0
call fcn.0040ada0
mov ecx, dword [0x7d8bc8]
add ecx, 0x7d0
cmp eax, ecx
jbe case.0x51a6f0.2
push 0
push 0
push 2
mov ecx, 0x69ec08
call fcn.004edfb0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0xbd88
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xbd88]
mov edx, dword [eax + 0x1c]
call edx
movzx eax, byte [0x663d4c]
test eax, eax
je 0x51aa2b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x280
mov dword [ebp - 0x1c], 0x14
push 0
push 0
push 0x21
push 0
push 0
push 0x663c48
push 0xffff
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x20]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov ecx, 0x69ec08
call fcn.005383b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret 4