Function at 0x42d730
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a9bc8]
sub eax, dword [0x4a9bc4]
push esi
sar eax, 2
test eax, eax
jne 0x42d81a
mov ecx, dword [0x4b8754]
sub ecx, dword [0x4b8750]
sar ecx, 2
test ecx, ecx
jne 0x42d81a
mov edx, dword [0x4b8538]
sub edx, dword [0x4b8534]
sar edx, 2
test edx, edx
jne 0x42d81a
cmp byte [0x4a9321], dl
jne 0x42d7ce
mov eax, dword [0x4a6948]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x477
push eax
call esi
mov ecx, dword [0x4a6948]
push 0x47c
push ecx
mov byte [0x4a9321], 1
call esi
mov edx, dword [0x4a6948]
push 0
push 0x1e
push 0x47c
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x4a6778]
push eax
push str._DoCardWinAnimTimerEvent:_d__GAME_LOSE_END_n
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call fcn.0045c9ef
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x204]
push eax
push 0
call fcn.00408ed0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0040fff0
call fcn.004100f0
call fcn.004101f0
cmp byte [0x4a9213], 0
mov esi, dword [sym.imp.USER32.dll_KillTimer]
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
je 0x42da02
cmp byte [0x4a92f4], 0
jne 0x42da02
cmp byte [0x4a9321], 0
jne 0x42d9bd
mov ecx, dword [0x4a6948]
push edi
push 0x477
push ecx
call esi
mov edi, dword [0x4a6758]
mov byte [0x4a9321], 1
cmp edi, 0xc80
jg 0x42d88f
push edi
call fcn.00413e00
add esp, 4
jmp 0x42d990
mov al, byte [0x4a3c28]
mov dl, byte [0x4a3c2c]
mov byte [0x4a6386], al
mov byte [0x4a6387], dl
mov eax, 0x51eb851f
imul dword [0x4a677c]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [0x4a6388], cx
mov byte [0x4a6382], 0
mov word [0x4a6384], ax
call fcn.00423a30
mov eax, dword [0x4a675c]
add eax, dword [0x4a6758]
push eax
mov dword [0x4a675c], eax
call fcn.0040ba80
mov eax, dword [0x4a9bf8]
add esp, 4
cmp eax, dword [0x4a9bfc]
je 0x42d948
cmp dword [eax + 4], 3
jne 0x42d948
mov eax, dword [0x4b85c0]
cmp eax, dword [0x4b85c4]
je 0x42d948
cmp byte [eax], 0
je 0x42d948
mov ecx, dword [0x4a6758]
sub dword [eax + 4], ecx
mov eax, dword [0x4b85c0]
cmp dword [eax + 4], 0
jg 0x42d948
push eax
lea edx, [ebp - 0x408]
push edx
mov ecx, 0x4b85c0
call fcn.00414b70
push 1
mov byte [0x4a93f0], 1
call fcn.004186a0
movzx eax, byte [0x4a93f0]
push eax
lea ecx, [ebp - 0x404]
push str._DoCardWinAnimTimerEvent__g_bWinOutDone:__d_n
push ecx
call fcn.00409630
add esp, 0x10
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4a6758]
add dword [0x4a6760], eax
add dword [0x4a6764], eax
push 0
call fcn.0042be90
mov eax, dword [0x4a6948]
add esp, 4
push 0x47c
push eax
call esi
mov ecx, dword [0x4a6948]
push 0
push 0x1f4
push 0x47c
push ecx
call ebx
pop edi
movzx edx, byte [0x4a92f4]
mov eax, dword [0x4a6778]
push edx
push eax
push str._DoCardWinAnimTimerEvent:_d_g_bSetHighMultiple:__d_END_n
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call fcn.0045c9ef
add esp, 0x14
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x204]
push eax
push 0
call fcn.00408ed0
add esp, 8
mov eax, dword [0x4a9170]
test eax, eax
jne 0x42da82
cmp byte [0x4a9321], al
jne 0x42da47
mov ecx, dword [0x4a6948]
push 0x477
push ecx
call esi
mov edx, dword [0x4a6948]
push 0x47c
push edx
mov byte [0x4a9321], 1
call esi
mov eax, dword [0x4a6948]
push 0
push 0x1e
push 0x47c
push eax
call ebx
mov ecx, dword [0x4a6778]
push ecx
push str._DoCardWinAnimTimerEvent:_d__GAME_LOSE_END_in_card_anim_n
lea edx, [ebp - 0x204]
push 0x100
push edx
call fcn.0045c9ef
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x204]
push ecx
push 0
jmp 0x42db94
lea edx, [eax - 1]
cmp edx, 0x1a
ja 0x42db9c
cmp eax, 0x18
je 0x42db9c
mov eax, dword [0x4a931c]
inc eax
mov dword [0x4a931c], eax
cmp eax, 0x3c
jl 0x42db9c
cmp byte [0x4a9321], 0
jne 0x42db5e
mov eax, dword [0x4a6948]
push 0x477
push eax
call esi
mov eax, dword [0x4a6758]
mov byte [0x4a9321], 1
cmp eax, dword [0x49b060]
jg 0x42db09
push eax
call fcn.00413e00
push 0
call fcn.0042be90
mov ecx, dword [0x4a6948]
add esp, 8
push 0x47c
push ecx
call esi
mov edx, dword [0x4a6948]
push 0
push 0x1e
push 0x47c
push edx
jmp 0x42db52
mov dword [0x4a3d04], 0xc8
mov dword [0x4a3d08], 0x64
cmp eax, 0xc350
jge 0x42db35
cmp eax, 0x2710
jge 0x42db35
mov dword [0x4a3d08], 0xa
mov eax, dword [0x4a6948]
push 0x4bc
push eax
call esi
mov ecx, dword [0x4a6948]
push 0
push 0x1e
push 0x4bc
push ecx
call ebx
mov dword [0x4a931c], 0
mov edx, dword [0x4a6778]
push edx
push str._DoCardWinAnimTimerEvent:_d____WS_TARGET_UL_3_END_n
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0045c9ef
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.00408ed0
add esp, 8
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop esi
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret