Function at 0x4cf740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x637496
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov eax, dword [0x6bd8a0]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0xd4], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x100], ebx
mov esi, 1
mov dword [esp + 0xe0], esi
je 0x4cf7a7
lea ecx, [edi + 0x3c]
mov dword [edi + 4], 0x65c090
call fcn.0040b080
mov byte [esp + 0xe0], 2
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0xf4]
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [esi + 4]
lea edx, [esp + eax + 0x104]
mov dword [esp + 0x24], esp
push edx
call fcn.00420750
mov eax, dword [esp + 0xf8]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [eax + 4]
lea eax, [esp + edx + 0x104]
mov dword [esp + 0x34], esp
push eax
mov dword [esp + 0x100], 3
call fcn.00420750
mov ecx, edi
mov byte [esp + 0xfc], 2
call fcn.0042cba0
mov ecx, dword [edi + 4]
mov dword [edi], vtable.CupAnimationControl.1.0
mov edx, dword [ecx + 4]
lea ebp, [edi + 0x1c]
mov dword [edx + edi + 4], vtable.CupAnimationControl.0
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [esp + 0xe0], 4
mov dword [ebp + 8], ebx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x2b]
push eax
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
push str.frame
mov byte [esp + 0x100], 5
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
call fcn.00403db0
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x110]
mov byte [esp + 0xfc], 5
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x2b]
push edx
push str.stateChangeTime
mov byte [esp + 0x100], 7
call fcn.00403db0
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x10c]
mov byte [esp + 0xf8], 7
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fst dword [edi + 0x28]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
je 0x4cf925
push 0x5f
push str.c:work_fishdom_aqua_gameCupAnimationControl.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea eax, [esp + 0x33]
push eax
push str._stateChangeTime___0.0f
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x4c], esp
lea edx, [esp + 0x4b]
push edx
push str.Assertion_failed
mov byte [esp + 0x120], 9
call fcn.00403db0
mov byte [esp + 0x118], 7
call fcn.00405c50
add esp, 0x38
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x2b]
push eax
push str.activeScreenPos
call fcn.00403db0
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x110]
mov byte [esp + 0xfc], 7
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + ecx + 0x34]
mov byte [esp + 0xe4], 0xb
call fcn.004304e0
mov ecx, eax
call fcn.0042b9b0
mov ecx, dword [eax]
mov dword [edi + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x38], edx
nop
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x20]
cmp edx, ebx
lea ecx, [esp + ecx + 0x20]
je 0x4cfe2f
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0x6580c8
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov ecx, 0x6580c8
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x24]
mov byte [esp + 0xe4], 0x29
call fcn.004304e0
mov ecx, eax
call fcn.0042b9b0
mov edx, dword [eax]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 4]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x94], eax
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
push 0x65dfff
push str.normalTextureId
mov byte [esp + 0x100], 0x2a
call fcn.00403b50
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xfc], 0x29
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x30], esp
mov dword [eax], ecx
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x14], eax
mov edx, dword [esp + 0xe8]
lea eax, [esp + 0xe4]
cmp edx, eax
mov byte [esp + 0xf8], 0x2d
lea eax, [esp + 0xd4]
je 0x4cfab7
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0xe4]
push edx
push eax
call fcn.00403b50
lea eax, [esp + 0x7c]
push eax
mov ecx, 0x6bfa98
mov byte [esp + 0xfc], 0x2c
call fcn.004a1c40
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 0x2e
call fcn.0049ab80
lea ecx, [esp + 0x64]
mov byte [esp + 0xe0], 0x2c
call fcn.0049ac10
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
push 0x65dfef
push str.activeTextureId
mov byte [esp + 0x100], 0x2f
call fcn.00403b50
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xfc], 0x2c
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x30], esp
mov dword [eax], ecx
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x14], eax
mov edx, dword [esp + 0xd0]
lea eax, [esp + 0xcc]
cmp edx, eax
mov byte [esp + 0xf8], 0x32
lea eax, [esp + 0xbc]
je 0x4cfb92
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xcc]
push edx
push eax
call fcn.00403b50
lea eax, [esp + 0x64]
push eax
mov ecx, 0x6bfa98
mov byte [esp + 0xfc], 0x31
call fcn.004a1c40
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe4], 0x33
call fcn.0049ab80
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe0], 0x31
call fcn.0049ac10
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
push 0x65dfdd
push str.textureChangeTime
mov byte [esp + 0x100], 0x34
call fcn.00403b50
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x38]
mov byte [esp + 0xf8], 0x31
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x14]
push 0x5c
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebx
mov byte [esp + 0xe0], 0x36
je 0x4cfc6e
mov edx, dword [esp + 0x14]
push 1
push edx
sub esp, 0xc
lea eax, [esp + 0xa0]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0049aa50
mov ecx, esi
call fcn.004b5dd0
jmp 0x4cfc70
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xe8], 0x31
call fcn.0048eed0
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0xe4], 0x37
call fcn.00493570
lea ecx, [esp + 0x40]
mov byte [esp + 0xe0], 0x31
call fcn.0048f9a0
mov eax, dword [ebp + 4]
cmp eax, dword [ebp + 8]
je 0x4cfcdc
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xe0], 0x38
je 0x4cfcd6
lea edx, [esp + 0x78]
push edx
mov ecx, eax
call fcn.0049bf50
add dword [ebp + 4], 0x2c
jmp 0x4cfcf5
push 1
push 1
lea ecx, [esp + 0x1b]
push ecx
lea edx, [esp + 0x84]
push edx
push eax
mov ecx, ebp
call fcn.004be2c0
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
push 0x65cdb5
push str.frame
mov byte [esp + 0x100], 0x39
call fcn.00403b50
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xfc], 0x31
call fcn.004304e0
mov ecx, eax
call fcn.00428cf0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xe4], 0x3b
call fcn.00422700
lea ecx, [esp + 0x58]
mov byte [esp + 0xe0], 0x31
call fcn.0042ce80
mov eax, dword [esp + 0xb8]
lea edx, [esp + 0xb4]
cmp eax, edx
mov byte [esp + 0xe0], 0x2c
je 0x4cfdab
mov ecx, dword [esp + 0xa4]
cmp ecx, ebx
je 0x4cfdab
sub eax, ecx
cmp eax, 0x80
jbe 0x4cfda1
push ecx
call fcn.00611869
add esp, 4
jmp 0x4cfdab
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0xcc]
cmp eax, ecx
mov byte [esp + 0xe0], 0x29
je 0x4cfdee
mov ecx, dword [esp + 0xbc]
cmp ecx, ebx
je 0x4cfdee
sub eax, ecx
cmp eax, 0x80
jbe 0x4cfde4
push ecx
call fcn.00611869
add esp, 4
jmp 0x4cfdee
push eax
push ecx
call fcn.005d6970
add esp, 8
lea ecx, [esp + 0x98]
mov byte [esp + 0xe0], 0x3d
call fcn.0049ac10
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe0], 0x3c
call fcn.0049ac10
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 0xb
call fcn.0048f9a0
jmp 0x4cf990
lea ecx, [esp + 0x30]
mov byte [esp + 0xe0], 7
call fcn.0042ce80
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 5
call fcn.0042ce80
lea ecx, [esp + 0xe8]
mov byte [esp + 0xe0], bl
call fcn.0042ce80
lea ecx, [esp + 0xf4]
mov dword [esp + 0xe0], 0xffffffff
call fcn.0042ce80
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xd4]
mov eax, edi
call fcn.006122a5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 0x1c