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

Disassembly:
push 0xffffffffffffffff
push 0x64cc3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
cmp dword [esp + 0x98], edi
mov ebp, 1
mov dword [esp + 0x78], ebp
mov bl, 2
je 0x589b04
lea ecx, [esi + 0xa8]
mov dword [esi + 4], 0x6687cc
mov dword [esi + 0x20], 0x667b54
mov dword [esi + 0x40], 0x655bf8
call fcn.0040b080
mov byte [esp + 0x78], bl
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x8c]
push edi
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [ebp + 4]
lea edx, [esp + eax + 0x9c]
mov dword [esp + 0xa8], esp
push edx
call fcn.00420750
mov eax, dword [esp + 0x90]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [eax + 4]
lea eax, [esp + edx + 0x9c]
mov dword [esp + 0x34], esp
push eax
mov dword [esp + 0x98], 3
call fcn.00420750
mov ecx, esi
mov byte [esp + 0x94], bl
call fcn.0042c9d0
push edi
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [ebp + 4]
lea eax, [esp + edx + 0x9c]
mov dword [esp + 0xa8], esp
push eax
mov dword [esp + 0x8c], 4
call fcn.00420750
lea ebx, [esi + 0x1c]
mov ecx, ebx
call fcn.0056f4b0
lea ebp, [esi + 0x3c]
push edi
mov ecx, ebp
mov byte [esp + 0x7c], 5
call fcn.0056bd70
mov ecx, dword [esi + 4]
mov dword [ebp], vtable.TabSetControl.3.0
mov dword [esi], vtable.TabSetControl.2.0
mov dword [ebx], vtable.TabSetControl.1.0
mov edx, dword [ecx + 4]
lea ebp, [esi + 0x48]
mov dword [edx + esi + 4], vtable.TabSetControl.0
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
lea eax, [esi + 0x58]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax], eax
mov dword [eax + 4], eax
lea edi, [esi + 0x60]
lea eax, [edi + 0x10]
mov dword [eax], edi
mov dword [edi + 0x14], eax
mov eax, dword [eax]
mov byte [eax], cl
lea eax, [esi + 0x78]
lea ecx, [eax + 0x10]
mov dword [ecx], eax
mov dword [eax + 0x14], ecx
mov ecx, dword [ecx]
mov byte [ecx], 0
lea eax, [esi + 0x90]
lea ecx, [eax + 0x10]
mov dword [ecx], eax
mov dword [eax + 0x14], ecx
mov ecx, dword [ecx]
mov byte [ecx], 0
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
mov byte [esp + 0x7c], 0xb
call fcn.005f86a0
push str._tab_order
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x84], 0xc
call fcn.00404ce0
add esp, 0xc
cmp eax, edi
mov byte [esp + 0x78], 0xd
je 0x589c70
mov ebx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp ebx, ecx
je 0x589c67
mov eax, dword [eax]
push edx
push eax
mov ecx, edi
call fcn.00403ff0
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x68]
cmp eax, edx
mov byte [esp + 0x78], 0xc
je 0x589ca7
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x589ca7
sub eax, ecx
cmp eax, 0x80
jbe 0x589c9d
push ecx
call fcn.00611869
add esp, 4
jmp 0x589ca7
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x50]
cmp eax, ecx
mov byte [esp + 0x78], 0xb
je 0x589cde
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x589cde
sub eax, ecx
cmp eax, 0x80
jbe 0x589cd4
push ecx
call fcn.00611869
add esp, 4
jmp 0x589cde
push eax
push ecx
call fcn.005d6970
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0xb0], esp
lea edx, [esp + 0xb0]
push edx
push str.tabs
call fcn.00403db0
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + ecx + 0xa8]
mov byte [esp + 0x94], 0xb
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + ecx + 0x2c]
mov byte [esp + 0x7c], 0xf
call fcn.004304e0
mov ecx, eax
call fcn.00428ab0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + eax + 0x1c]
test ecx, ecx
lea eax, [esp + eax + 0x1c]
mov bl, 0x10
mov byte [esp + 0x78], bl
jne 0x589dba
push 0xeb
push str.c:work_fishdom_aqua_gameTabSetControl.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0xb8], esp
lea edx, [esp + 0xb8]
push edx
push str.oneTabXml___NULL
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x50], esp
lea eax, [esp + 0xd0]
push eax
push str.Assertion_failed
mov byte [esp + 0xb8], 0x12
call fcn.00403db0
mov byte [esp + 0xb0], bl
call fcn.00405c50
add esp, 0x38
mov dword [esi + 0x54], 0
lea ecx, [esp + 0x34]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x2c]
mov dword [esp + 0xa8], esp
push edx
call fcn.00420750
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
push esi
mov byte [esp + 0x9c], 0x13
call fcn.00450a80
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x98], bl
call fcn.00547790
add esp, 0x1c
mov ecx, eax
mov byte [esp + 0x7c], 0x14
call fcn.005577c0
mov ecx, dword [ebp + 4]
cmp ecx, dword [ebp + 8]
mov byte [esp + 0x78], 0x15
je 0x589e55
mov dword [esp + 0x98], ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
mov byte [esp + 0x78], 0x16
je 0x589e4f
push eax
mov dword [ecx], 0x6580c8
call fcn.0054e0a0
add dword [ebp + 4], 0xc
jmp 0x589e6a
push 1
push 1
lea edx, [esp + 0xa0]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.0056ffc0
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0x14
call fcn.0054da60
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], bl
call fcn.00450f30
mov ecx, dword [esi + 0x54]
inc ecx
mov eax, ecx
test eax, eax
mov dword [esi + 0x54], ecx
jg 0x589f06
push 0xf0
push str.c:work_fishdom_aqua_gameTabSetControl.h
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0xb8], esp
mov dword [esp + 0x38], ecx
mov dword [ecx + 0x14], eax
push 0x663245
push str._tabCount___0
mov byte [esp + 0xa0], 0x17
call fcn.00403b50
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x50], esp
mov dword [eax], ecx
mov dword [esp + 0x50], ecx
mov dword [ecx + 0x14], eax
push 0x65341c
push str.Assertion_failed
mov byte [esp + 0xb8], 0x19
call fcn.00403b50
mov byte [esp + 0xb0], bl
call fcn.00405c50
add esp, 0x38
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + ecx + 0x20]
call fcn.004304e0
mov ecx, eax
call fcn.00428c50
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 0x1a
call fcn.00422700
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], bl
call fcn.0042ce80
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x1c]
test ecx, ecx
lea eax, [esp + eax + 0x1c]
jne 0x589dc1
lea ecx, [esi + 0x3c]
call fcn.00589690
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0xf
call fcn.0042ce80
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 0xb
call fcn.0042ce80
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 0
call fcn.0042ce80
lea ecx, [esp + 0x8c]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042ce80
mov ecx, dword [esp + 0x70]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0x1c