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

Disassembly:
push 0xffffffffffffffff
push 0x636a1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x2c], edi
cmp dword [esp + 0xec], edi
mov esi, 1
mov dword [esp + 0xcc], esi
je 0x4cae2b
lea ecx, [ebp + 0x40]
mov dword [ebp + 4], 0x65c3a4
call fcn.0040b080
mov byte [esp + 0xcc], 2
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0xe0]
push edi
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [esi + 4]
lea edx, [esp + eax + 0xf0]
mov dword [esp + 0x28], esp
push edx
call fcn.00420750
mov eax, dword [esp + 0xe4]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [eax + 4]
lea eax, [esp + edx + 0xf0]
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0xec], 3
call fcn.00420750
mov ecx, ebp
mov byte [esp + 0xe8], 2
call fcn.0042cba0
mov ecx, dword [ebp + 4]
mov dword [ebp], method.MouseTransparentControl.1.virtual_0
mov edx, dword [ecx + 4]
lea ecx, [ebp + 0x20]
mov dword [esp + 0xcc], 4
mov dword [edx + ebp + 4], vtable.CockleShellControl.0
call fcn.004bd790
lea eax, [ebp + 0x30]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax], eax
mov dword [eax + 4], eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x2b]
push eax
push str.animation
mov byte [esp + 0xec], 6
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x3c], edi
call fcn.00403db0
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0xfc]
mov byte [esp + 0xe8], 6
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x2b]
push edx
push str.animationId
mov byte [esp + 0xec], 8
call fcn.00403db0
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + ecx + 0x4c]
mov byte [esp + 0xe8], 8
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
mov byte [esp + 0xcc], 0xa
push eax
mov ecx, 0x6bfab0
call fcn.0048e950
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x5c]
cmp eax, edx
mov byte [esp + 0xcc], 8
je 0x4cafa6
mov ecx, dword [esp + 0x4c]
cmp ecx, edi
je 0x4cafa6
sub eax, ecx
cmp eax, 0x80
jbe 0x4caf9c
push ecx
call fcn.00611869
add esp, 4
jmp 0x4cafa6
push eax
push ecx
call fcn.005d6970
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x2b]
push eax
push str.bubblesPos
call fcn.00403db0
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0xfc]
mov byte [esp + 0xe8], 8
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x18]
push edx
add ecx, eax
mov byte [esp + 0xd0], 0xc
call fcn.004304e0
mov ecx, eax
call fcn.0042b9b0
mov edx, dword [eax]
mov dword [ebp + 0x38], edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x3c]
mov dword [ebp + 0x3c], eax
mov byte [esp + 0xcc], 8
call fcn.0042ce80
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x2b]
push edx
push str.frames
call fcn.00403db0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + ecx + 0xfc]
mov byte [esp + 0xe8], 8
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov esi, eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x2b]
push edx
mov bl, 0xe
push str.frame
mov byte [esp + 0xec], bl
call fcn.00403db0
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x38]
push eax
add ecx, esi
mov byte [esp + 0xe8], bl
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
lea ecx, [esp + 0x3c]
mov byte [esp + 0xcc], 0x11
call fcn.0042ce80
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x20]
test ecx, ecx
lea eax, [esp + eax + 0x20]
je 0x4cb678
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x14], eax
push 0x65dd79
push str.state
mov byte [esp + 0xec], 0x15
call fcn.00403b50
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xe8], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp edx, ecx
mov edi, eax
je 0x4cb123
mov edi, dword [eax]
sub esi, edi
cmp esi, 4
jne 0x4cb13f
cmp edx, ecx
je 0x4cb130
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, str.idle
cmp eax, dword [edx]
jne 0x4cb13f
mov bl, 1
jmp 0x4cb141
xor bl, bl
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x74]
cmp eax, ecx
je 0x4cb173
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4cb173
sub eax, ecx
cmp eax, 0x80
jbe 0x4cb169
push ecx
call fcn.00611869
add esp, 4
jmp 0x4cb173
push eax
push ecx
call fcn.005d6970
add esp, 8
sub esp, 0x18
test bl, bl
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x14], eax
je 0x4cb232
push 0x65dd73
push str.maxTime
mov byte [esp + 0xec], 0x17
call fcn.00403b50
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x38]
mov byte [esp + 0xe4], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x34], ecx
mov dword [ecx + 0x14], eax
push 0x65dd6b
push str.minTime
mov byte [esp + 0xf0], 0x19
call fcn.00403b50
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xe8], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push edx
push 0
lea ecx, [ebp + 0x20]
call fcn.004cad20
jmp 0x4cb641
push 0x65dd79
push str.state
mov byte [esp + 0xec], 0x1b
call fcn.00403b50
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xe8], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp edx, ecx
mov edi, eax
je 0x4cb281
mov edi, dword [eax]
sub esi, edi
cmp esi, 4
jne 0x4cb29d
cmp edx, ecx
je 0x4cb28e
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, str.open
cmp eax, dword [edx]
jne 0x4cb29d
mov bl, 1
jmp 0x4cb29f
xor bl, bl
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x4cb2da
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x4cb2da
sub eax, ecx
cmp eax, 0x80
jbe 0x4cb2d0
push ecx
call fcn.00611869
add esp, 4
jmp 0x4cb2da
push eax
push ecx
call fcn.005d6970
add esp, 8
sub esp, 0x18
test bl, bl
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x14], eax
je 0x4cb399
push 0x65dd73
push str.maxTime
mov byte [esp + 0xec], 0x1d
call fcn.00403b50
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x38]
mov byte [esp + 0xe4], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x34], ecx
mov dword [ecx + 0x14], eax
push 0x65dd6b
push str.minTime
mov byte [esp + 0xf0], 0x1f
call fcn.00403b50
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xe8], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push edx
push 1
lea ecx, [ebp + 0x20]
call fcn.004cad20
jmp 0x4cb641
push 0x65dd79
push str.state
mov byte [esp + 0xec], 0x21
call fcn.00403b50
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xe8], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp edx, ecx
mov edi, eax
je 0x4cb3e8
mov edi, dword [eax]
sub esi, edi
cmp esi, 9
jne 0x4cb40b
cmp edx, ecx
je 0x4cb3f5
mov eax, dword [eax]
mov ecx, 9
mov edi, str.keep_open
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4cb40b
mov bl, 1
jmp 0x4cb40d
xor bl, bl
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x8c]
cmp eax, ecx
je 0x4cb445
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4cb445
sub eax, ecx
cmp eax, 0x80
jbe 0x4cb43b
push ecx
call fcn.00611869
add esp, 4
jmp 0x4cb445
push eax
push ecx
call fcn.005d6970
add esp, 8
test bl, bl
lea edx, [esp + 0x13]
je 0x4cb4dc
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
push str.maxTime
call fcn.00403db0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x38]
mov byte [esp + 0xe4], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x2f]
push edx
push str.minTime
call fcn.00403db0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xe8], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push ecx
push 2
lea ecx, [ebp + 0x20]
call fcn.004cad20
jmp 0x4cb641
push str.close
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
push str.state
call fcn.00403db0
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0xec], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
push eax
call fcn.00402610
mov bl, al
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0xc4]
add esp, 8
cmp eax, edx
je 0x4cb562
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x4cb562
sub eax, ecx
cmp eax, 0x80
jbe 0x4cb558
push ecx
call fcn.00611869
add esp, 4
jmp 0x4cb562
push eax
push ecx
call fcn.005d6970
add esp, 8
test bl, bl
lea eax, [esp + 0x13]
je 0x4cb5f6
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
push str.maxTime
call fcn.00403db0
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x38]
mov byte [esp + 0xe4], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x2f]
push eax
push str.minTime
call fcn.00403db0
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x3c]
mov byte [esp + 0xe8], 0x11
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push edx
push 3
lea ecx, [ebp + 0x20]
call fcn.004cad20
jmp 0x4cb641
push 0x41
push 0x65dd20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push str.false
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x50], esp
lea edx, [esp + 0x4b]
push edx
push str.Assertion_failed
mov byte [esp + 0x10c], 0x28
call fcn.00403db0
mov byte [esp + 0x104], 0x11
call fcn.00405c50
add esp, 0x38
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + ecx + 0x24]
call fcn.004304e0
mov ecx, eax
call fcn.00428c50
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xd0], 0x29
call fcn.00422700
lea ecx, [esp + 0x4c]
jmp 0x4cb09e
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 8
call fcn.0042ce80
lea ecx, [esp + 0x30]
mov byte [esp + 0xcc], 6
call fcn.0042ce80
lea ecx, [esp + 0xd4]
mov byte [esp + 0xcc], 0
call fcn.0042ce80
lea ecx, [esp + 0xe0]
mov dword [esp + 0xcc], 0xffffffff
call fcn.0042ce80
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 0x1c