Function at 0x431640
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b61d0]
sub eax, dword [0x4b61cc]
push esi
sar eax, 2
test eax, eax
jne 0x43172a
mov ecx, dword [0x4c5854]
sub ecx, dword [0x4c5850]
sar ecx, 2
test ecx, ecx
jne 0x43172a
mov edx, dword [0x4c5630]
sub edx, dword [0x4c562c]
sar edx, 2
test edx, edx
jne 0x43172a
cmp byte [0x4b56cb], dl
jne 0x4316de
mov eax, dword [0x4b5978]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x477
push eax
call esi
mov ecx, dword [0x4b5978]
push 0x47c
push ecx
mov byte [0x4b56cb], 1
call esi
mov edx, dword [0x4b5978]
push 0
push 0x1e
push 0x47c
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x4b2c88]
push eax
push str._DoCardWinAnimTimerEvent:_d__GAME_LOSE_END_n
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call fcn.004646a5
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x204]
push eax
push 1
call fcn.00408da0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463931
mov esp, ebp
pop ebp
ret
push ebx
push edi
call fcn.004100a0
call fcn.004101a0
call fcn.004102a0
cmp byte [0x4b55c5], 0
mov edi, dword [sym.imp.USER32.dll_KillTimer]
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
je 0x431911
cmp byte [0x4b55c6], 0
jne 0x431911
cmp byte [0x4b56cb], 0
jne 0x4318cc
mov ecx, dword [0x4b5978]
push 0x477
push ecx
call edi
mov esi, dword [0x4b2c68]
mov byte [0x4b56cb], 1
cmp esi, dword [0x4a7060]
jg 0x43179f
push esi
call fcn.00414980
add esp, 4
jmp 0x4318a0
mov al, byte [0x4a86a8]
mov dl, byte [0x4a86ac]
mov byte [0x4b289e], al
mov byte [0x4b289f], dl
mov eax, 0x51eb851f
imul dword [0x4b2c8c]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [0x4b28a0], cx
mov byte [0x4b289a], 0
mov word [0x4b289c], ax
call fcn.00424320
mov eax, dword [0x4b2c6c]
add eax, dword [0x4b2c68]
push eax
mov dword [0x4b2c6c], eax
call fcn.0040bb70
mov eax, dword [0x4b61f8]
add esp, 4
cmp eax, dword [0x4b61fc]
je 0x431858
cmp dword [eax + 4], 3
jne 0x431858
mov eax, dword [0x4c56b8]
cmp eax, dword [0x4c56bc]
je 0x431858
cmp byte [eax], 0
je 0x431858
mov ecx, dword [0x4b2c68]
sub dword [eax + 4], ecx
mov eax, dword [0x4c56b8]
cmp dword [eax + 4], 0
jg 0x431858
push eax
lea edx, [ebp - 0x408]
push edx
mov ecx, 0x4c56b8
call fcn.00415540
push 1
mov byte [0x4b5796], 1
call fcn.00417e20
movzx eax, byte [0x4b5796]
push eax
lea ecx, [ebp - 0x404]
push str._DoCardWinAnimTimerEvent__g_bWinOutDone:__d_n
push ecx
call fcn.00409550
add esp, 0x10
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4b2c68]
add dword [0x4b2c70], eax
add dword [0x4b2c74], eax
push 0
call fcn.0042fe60
mov eax, dword [0x4b5978]
add esp, 4
push 0x47c
push eax
call edi
mov ecx, dword [0x4b5978]
push 0
push 0x1f4
push 0x47c
push ecx
call ebx
movzx edx, byte [0x4b55c6]
mov eax, dword [0x4b2c88]
push edx
push eax
push str._DoCardWinAnimTimerEvent:_d_g_bSetHighMultiple:__d_END_n
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call fcn.004646a5
add esp, 0x14
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x204]
push eax
push 1
call fcn.00408da0
add esp, 8
mov ecx, dword [0x4b2cc0]
xor eax, eax
lea esp, [esp]
cmp ecx, dword [eax + 0x4a87e8]
je 0x431930
add eax, 4
cmp eax, 0x20
jb 0x431920
test ecx, ecx
jne 0x4319a9
cmp byte [0x4b56cb], cl
jne 0x431970
mov ecx, dword [0x4b5978]
push 0x477
push ecx
call edi
mov edx, dword [0x4b5978]
push 0x47c
push edx
mov byte [0x4b56cb], 1
call edi
mov eax, dword [0x4b5978]
push 0
push 0x1e
push 0x47c
push eax
call ebx
mov ecx, dword [0x4b2c88]
push ecx
push str._DoCardWinAnimTimerEvent:_d__GAME_LOSE_END_in_card_anim_n
lea edx, [ebp - 0x204]
push 0x100
push edx
call fcn.004646a5
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x204]
push ecx
jmp 0x431ab9
lea edx, [ecx - 1]
cmp edx, 0x1a
ja 0x431ac3
cmp ecx, 0x18
je 0x431ac3
mov eax, dword [0x4b56c4]
inc eax
mov dword [0x4b56c4], eax
cmp eax, 0x3c
jl 0x431ac3
cmp byte [0x4b56cb], 0
jne 0x431a85
mov eax, dword [0x4b5978]
push 0x477
push eax
call edi
mov eax, dword [0x4b2c68]
mov byte [0x4b56cb], 1
cmp eax, dword [0x4a7060]
jg 0x431a30
push eax
call fcn.00414980
push 0
call fcn.0042fe60
mov ecx, dword [0x4b5978]
add esp, 8
push 0x47c
push ecx
call edi
mov edx, dword [0x4b5978]
push 0
push 0x1e
push 0x47c
push edx
jmp 0x431a79
mov dword [0x4a8784], 0xc8
mov dword [0x4a8788], 0x64
cmp eax, 0xc350
jge 0x431a5c
cmp eax, 0x2710
jge 0x431a5c
mov dword [0x4a8788], 0xa
mov eax, dword [0x4b5978]
push 0x4bc
push eax
call edi
mov ecx, dword [0x4b5978]
push 0
push 0x1e
push 0x4bc
push ecx
call ebx
mov dword [0x4b56c4], 0
mov edx, dword [0x4b2c88]
push edx
push str._DoCardWinAnimTimerEvent:_d____WS_TARGET_UL_3_END_n
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.004646a5
add esp, 0x10
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x204]
push edx
push 1
call fcn.00408da0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00463931
mov esp, ebp
pop ebp
ret