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

Disassembly:
push 0xffffffffffffffff
push 0x64cb18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [0x6bd8a0]
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x24]
push esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], edi
call fcn.0047ae30
add esp, 4
test al, al
jne 0x5896d8
lea ecx, [edi - 0x3c]
call fcn.0054d030
jmp 0x589a80
lea ecx, [edi + 0x1c]
call fcn.0054ade0
lea eax, [esp + 0x28]
push esi
push eax
call fcn.0047b390
push 0x658898
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x90], 0
call fcn.00404ce0
add esp, 0x14
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x38]
cmp eax, edx
mov byte [esp + 0x7c], 2
je 0x589740
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x589740
sub eax, ecx
cmp eax, 0x80
jbe 0x589736
push ecx
call fcn.00611869
add esp, 4
jmp 0x589740
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x40]
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x589760
mov ecx, dword [esp + 0x18]
jmp 0x589760
lea eax, [esp + 0x50]
cmp ebx, eax
lea eax, [esp + 0x40]
je 0x58976e
mov eax, ebp
mov edx, esi
sub edx, eax
cmp ecx, edx
jb 0x58977b
or edi, 0xffffffff
jmp 0x5897c3
lea eax, [esp + 0x50]
cmp ebx, eax
mov byte [esp + 0x24], 0x20
lea eax, [esp + 0x40]
je 0x58978e
mov eax, ebp
lea edx, [esp + 0x1f]
push edx
mov edx, dword [esp + 0x28]
push edx
add eax, ecx
push esi
push eax
call fcn.00446ec0
add esp, 0x10
cmp eax, esi
je 0x589776
lea ecx, [esp + 0x50]
cmp ebx, ecx
lea ecx, [esp + 0x40]
je 0x5897b6
mov ecx, ebp
sub eax, ecx
mov edi, eax
cmp edi, 0xffffffff
jne 0x589844
push 0x78
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 + 0x30], esp
mov dword [esp + 0x34], ecx
mov dword [ecx + 0x14], eax
push 0x667aef
push str.endPos___std::string::npos
mov byte [esp + 0xa4], 3
call fcn.00403b50
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x4c], esp
mov dword [eax], ecx
mov dword [esp + 0x4c], ecx
mov dword [ecx + 0x14], eax
push 0x65341c
push str.Assertion_failed
mov byte [esp + 0xbc], 5
call fcn.00403b50
mov byte [esp + 0xb4], 2
call fcn.00405c50
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov ebp, dword [esp + 0x78]
add esp, 0x38
lea edx, [esp + 0x50]
cmp ebx, edx
lea eax, [esp + 0x40]
je 0x589852
mov eax, ebp
sub esi, eax
cmp edi, esi
jb 0x5898c7
push 0x79
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 + 0x34], esp
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x14], eax
push 0x667ad3
push str.endPos___order.length__
mov byte [esp + 0xa4], 6
call fcn.00403b50
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x48], esp
mov dword [eax], ecx
mov dword [esp + 0x48], ecx
mov dword [ecx + 0x14], eax
push 0x65341c
push str.Assertion_failed
mov byte [esp + 0xbc], 8
call fcn.00403b50
mov byte [esp + 0xb4], 2
call fcn.00405c50
add esp, 0x38
mov esi, dword [esp + 0x18]
cmp edi, esi
jae 0x58993e
push 0x7a
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 + 0x34], esp
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x14], eax
push 0x667aba
push str.endPos___beginPos
mov byte [esp + 0xa4], 9
call fcn.00403b50
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x48], esp
mov dword [eax], ecx
mov dword [esp + 0x48], ecx
mov dword [ecx + 0x14], eax
push 0x65341c
push str.Assertion_failed
mov byte [esp + 0xbc], 0xb
call fcn.00403b50
mov byte [esp + 0xb4], 2
call fcn.00405c50
add esp, 0x38
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00417880
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x2c], esp
mov dword [eax], ecx
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x80]
cmp eax, edx
mov byte [esp + 0x94], 0xd
lea eax, [esp + 0x70]
je 0x589989
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
push edx
push eax
call fcn.00403b50
mov byte [esp + 0x94], 0xc
call fcn.00421cb0
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], eax
add esp, 0x18
lea eax, [esp + 0x18]
add esi, 0x1c
push eax
mov ecx, esi
call fcn.00415780
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [ecx], eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0x6c]
inc edi
lea ecx, [esp + 0x68]
cmp eax, ecx
mov dword [esp + 0x18], edi
mov byte [esp + 0x7c], 2
je 0x589a07
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x589a07
sub eax, ecx
cmp eax, 0x80
jbe 0x5899fd
push ecx
call fcn.00611869
add esp, 4
jmp 0x589a07
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
lea edx, [esp + 0x50]
cmp ebx, edx
lea eax, [esp + 0x40]
je 0x589a1d
mov eax, ebp
mov esi, dword [esp + 0x50]
mov ecx, esi
sub ecx, eax
cmp edi, ecx
jne 0x589754
mov esi, dword [esp + 0x20]
add esi, 0xffffffc4
mov ecx, esi
call fcn.0054ce60
test al, al
jne 0x589a46
mov ecx, esi
call fcn.0054d030
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x50]
cmp eax, edx
mov dword [esp + 0x7c], 0xffffffff
je 0x589a80
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x589a80
sub eax, ecx
cmp eax, 0x80
jbe 0x589a76
push ecx
call fcn.00611869
add esp, 4
jmp 0x589a80
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x70]
call fcn.006122a5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret