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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], eax
movzx eax, word [ecx]
cmp ax, 0x40
jle 0x5877fd
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.00550e70
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
je 0x58780d
mov dword [esp + 0x24], 1
jmp 0x587814
movsx edx, ax
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x24]
shl ebx, 6
add ebx, 0x2f
mov eax, edi
mov esi, dword [eax]
and ebx, 0xfffffff8
lea edi, [ebx + 0x264]
mov ecx, edi
mov dword [esp + 0x28], esi
call fcn.00549520
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x58784c
push edi
push 0
push esi
call fcn.005c0cf0
add esp, 0xc
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
je 0x587869
push esi
push eax
call fcn.0053e910
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x18], ecx
mov dword [edi], edx
call fcn.0054c340
mov cx, word [ebp + 0x18]
mov edx, dword [ebp + 8]
lea esi, [edi + ebx]
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], esi
mov word [edi + 4], cx
fld qword [edx + 0x1c0]
fstp qword [edi + 0x20]
push 0x104
xor edi, edi
lea ebx, [esi + 0x160]
push edi
push ebx
mov dword [esp + 0x4c], esi
call fcn.005c0cf0
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x68], edi
mov edi, dword [ebp + 0x10]
lea edx, [esp + 0x64]
lea ecx, [esi + 0x20]
push edi
push edx
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 0x18], 8
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x6c], 0x57d2d0
mov dword [esp + 0x74], eax
call fcn.0054cc30
push 0x45
push edi
push esi
call fcn.0054ee40
add esp, 0x20
test edi, edi
je 0x587932
cmp dword [esp + 0x24], 0
je 0x58791b
mov eax, edi
call fcn.0054d230
test eax, eax
je 0x587932
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
push 8
push ecx
push edi
push edx
call fcn.00578a50
add esp, 0x10
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov dword [esp + 0x20], 0
jle 0x58798c
lea edi, [ecx + 0x14]
mov eax, dword [ebx]
mov edx, dword [edi + 0xc]
mov dword [ebx + eax*4 + 4], edx
add dword [ebx], 1
mov eax, dword [edi]
test eax, eax
je 0x587977
test byte [eax + 0x1e], 0x10
je 0x587977
mov ecx, dword [esp + 0x20]
mov eax, 1
xor edx, edx
call fcn.005c3500
or dword [esi + 8], eax
or dword [esi + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
movsx edx, word [ecx]
add eax, 1
add edi, 0x38
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x587946
mov edi, dword [esi + 0x14]
sub edi, 1
js 0x5879a7
mov ebx, dword [ebp + 0xc]
push edi
push esi
push ebx
call fcn.0057dbe0
add esp, 0xc
sub edi, 1
jns 0x587997
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x587ede
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
or eax, 0xffffffff
xor edx, edx
cmp ebx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
lea eax, [ecx + 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
jle 0x587dce
xor eax, eax
fld qword [0x60b870]
mov edi, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
fstp qword [esp + 0x78]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
xor ecx, ecx
lea eax, [ebx - 1]
cmp dword [esp + 0xc], eax
mov dword [esp + 0x2c], 0xffffffff
setl cl
mov dword [esp + 0x68], edi
mov eax, ecx
test eax, eax
mov dword [esp + 0x50], eax
jl 0x587c9b
jmp 0x587a60
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
lea edx, [eax*8]
sub edx, eax
cmp eax, dword [esp + 0x24]
mov ebx, eax
lea edx, [ecx + edx*8 + 8]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], edx
jge 0x587c84
mov ecx, dword [esp + 0x14]
shl eax, 6
lea eax, [eax + ecx + 0x64]
mov dword [esp + 0x48], eax
jmp 0x587aa4
mov edx, dword [esp + 0x18]
mov al, byte [edx + 0x15]
and al, 0xa
neg al
sbb eax, eax
neg eax
cmp ebx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
je 0x587ac1
test eax, eax
jne 0x587c84
mov esi, dword [esp + 0x40]
xor ecx, ecx
add esi, 0x160
cmp dword [esi], ecx
jle 0x587ae5
mov edx, dword [edx + 0x18]
lea eax, [esi + 4]
cmp dword [eax], edx
je 0x587b0f
add ecx, 1
add eax, 4
cmp ecx, dword [esi]
jl 0x587ad7
xor esi, esi
xor edi, edi
mov edx, dword [esp + 0x30]
mov ecx, edi
and ecx, dword [esp + 0x34]
mov eax, esi
and eax, edx
or eax, ecx
jne 0x587b21
cmp ebx, dword [esp + 0xc]
jne 0x587c69
add dword [esp + 0xc], 1
jmp 0x587c69
mov eax, 1
xor edx, edx
call fcn.005c3500
mov esi, eax
mov edi, edx
jmp 0x587ae9
cmp dword [esp + 0x50], 0
je 0x587b2e
mov ecx, esi
mov edx, edi
jmp 0x587b34
mov ecx, edx
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x20], 0
jne 0x587b46
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x587b46
mov eax, dword [eax]
jmp 0x587b48
xor eax, eax
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x34], 0
jne 0x587b57
add dword [esp + 0x54], 1
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x1e], 0x10
je 0x587b8c
mov ebx, dword [esp + 0x48]
push ebx
lea ebx, [esp + 0x94]
push ebx
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0057b990
add esp, 0x20
jmp 0x587bad
lea ebx, [esp + 0x90]
push ebx
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00575ab0
add esp, 0x1c
cmp dword [esp + 0x50], 0
mov edx, dword [esp + 0x90]
je 0x587bcb
test edx, 0xf3000
jne 0x587bcb
or dword [esp + 0x58], esi
or dword [esp + 0x5c], edi
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
and eax, dword [esp + 0x30]
and ecx, dword [esp + 0x34]
or eax, ecx
jne 0x587c5e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jl 0x587c03
and esi, dword [esp + 0x58]
and edi, dword [esp + 0x5c]
mov eax, esi
or eax, edi
jne 0x587c03
test edx, 0xf3000
je 0x587c5e
cmp dword [esp + 0x54], 0
je 0x587c1c
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x34], 0
je 0x587c1c
test edx, 0xf3000
je 0x587c5e
test ecx, ecx
jl 0x587cdf
fld qword [esp + 0x78]
fld qword [esp + 0xa0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x587cdb
fcompp
fnstsw ax
test ah, 0x41
jp 0x587c5e
fld qword [esp + 0x80]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x41
je 0x587cdf
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x3c], 0
jne 0x587c84
add dword [esp + 0x48], 0x40
add dword [esp + 0x18], 0x38
add ebx, 1
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
jl 0x587aa0
sub dword [esp + 0x50], 1
jns 0x587a60
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
test edi, 0x1000000
je 0x587cac
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
and dword [esp + 0x44], edi
test edi, 0x200f0000
mov ecx, dword [esp + 0x70]
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
je 0x587cfe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x14], edx
add dword [ecx + 0x44], 1
jmp 0x587d05
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x4c]
mov ecx, 0xa
lea esi, [esp + 0x90]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], ebx
jmp 0x587c62
mov dword [eax + 0x14], 0xffffffff
xor ecx, ecx
cmp dword [esi + 0x160], ecx
jle 0x587d42
mov eax, dword [esp + 0x2c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*8 + 0x20]
lea eax, [esi + 0x164]
lea esp, [esp]
cmp dword [eax], edx
je 0x587d82
add ecx, 1
add eax, 4
cmp ecx, dword [esi + 0x160]
jl 0x587d30
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [esp + 0x2c]
fld qword [esp + 0x80]
not eax
and dword [esp + 0x30], eax
fcom st(1)
not edx
and dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov byte [edx + 0x28], cl
fnstsw ax
fstp st(1)
test ah, 1
jne 0x587d90
mov eax, dword [ebp + 8]
fmul qword [eax + 0x1c0]
fstp qword [eax + 0x1c0]
jmp 0x587d92
mov eax, 1
xor edx, edx
call fcn.005c3500
jmp 0x587d46
fstp st(0)
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*8 + 0x3c]
test eax, eax
je 0x587db2
test edi, 0xf0000
je 0x587ecb
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], 0x40
add eax, 1
cmp eax, ebx
mov dword [esp + 0x20], eax
jl 0x5879e5
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x587ede
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x1e], 0
jne 0x587ede
mov eax, dword [esp + 0x44]
and eax, 0x4000000
je 0x587e01
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x587e01
mov dword [edx], 0
test byte [ebp + 0x18], 4
je 0x587e19
test eax, eax
je 0x587e19
and dword [ecx + 0x28], 0xff7fffff
lea eax, [ecx + 0x28]
mov byte [ecx + 6], 1
mov eax, dword [ebp + 8]
or esi, 0xffffffff
push esi
call fcn.0056c6d0
mov eax, dword [esp + 0x18]
add eax, 0x28
add esp, 4
test ebx, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
jle 0x5883c2
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1e8], 2
jne 0x58804b
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 0x28]
mov ebx, dword [esp + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*8 + 0xc]
lea edi, [eax + edx*8 + 8]
push ecx
push str.TABLE__s
mov esi, ebx
call fcn.00550c10
mov edi, dword [edi + 8]
add esp, 8
test edi, edi
mov esi, eax
je 0x587ea8
push edi
push esi
push str._s_AS__s
push esi
mov eax, ebx
call fcn.00550c30
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
test eax, 0x20000000
je 0x587f05
push esi
push str._s_WITH_AUTOMATIC_INDEX
push esi
mov eax, ebx
call fcn.00550c30
add esp, 0xc
jmp 0x587f7c
mov edx, dword [eax]
mov edi, dword [ebp + 8]
push edx
push str.cannot_use_index:__s
call fcn.00550e70
add esp, 8
mov eax, dword [esp + 0x14]
fld qword [eax + 0x20]
mov edx, dword [ebp + 8]
push eax
fstp qword [edx + 0x1c0]
mov eax, dword [esp + 0x2c]
push eax
call fcn.0054f280
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0xf0000
je 0x587f25
mov edx, dword [edi + 8]
mov eax, dword [edx]
push eax
push esi
push str._s_WITH_INDEX__s
push esi
mov eax, ebx
call fcn.00550c30
add esp, 0x10
jmp 0x587f7c
test eax, 0x10000000
je 0x587f3f
push esi
push str._s_VIA_MULTI_INDEX_UNION
push esi
mov eax, ebx
call fcn.00550c30
add esp, 0xc
jmp 0x587f7c
test eax, 0x3000
je 0x587f59
push esi
push str._s_USING_PRIMARY_KEY
push esi
mov eax, ebx
call fcn.00550c30
add esp, 0xc
jmp 0x587f7c
test eax, 0x8000000
je 0x587f7e
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
push edx
push esi
push str._s_VIRTUAL_TABLE_INDEX__d:_s
push esi
mov eax, ebx
call fcn.00550c30
add esp, 0x14
mov esi, eax
test dword [edi], 0x1000000
je 0x587f99
push esi
push str._s_ORDER_BY
push esi
mov eax, ebx
call fcn.00550c30
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x28]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0xc]
cmp dword [ecx + 0x10], ebx
jg 0x587fc5
mov edi, ecx
call fcn.0054c1a0
test eax, eax
je 0x587fc3
mov eax, 1
jmp 0x587ff7
mov ecx, edi
mov eax, dword [ecx + 0x14]
add dword [ecx + 0xc], 1
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x89
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ecx + 0x62], dl
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x14]
test ebx, ebx
mov edi, dword [ecx]
je 0x588041
cmp byte [edi + 0x1e], 0
jne 0x588041
test eax, eax
jge 0x588014
mov eax, dword [ecx + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.0054c490
xor eax, eax
cmp esi, eax
mov dword [ebx + 0x10], eax
jne 0x588038
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x58804b
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xff
jmp 0x58804b
mov ecx, esi
or eax, 0xffffffff
call fcn.0054c490
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edx*8 + 0x14]
lea ebx, [eax + edx*8 + 8]
mov edx, dword [ebx + 0x18]
mov dword [ecx + 0x10], edx
mov edx, dword [esi + 0x40]
test edx, edx
mov edi, 0xfff0bdc0
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], edi
je 0x5880aa
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
xor edi, edi
test ecx, ecx
mov dword [esp + 0xc], edi
jle 0x5880aa
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x5880a6
add edi, 1
add eax, 0x10
cmp edi, ecx
jl 0x588098
mov dword [esp + 0xc], edi
test byte [esi + 0x1e], 2
jne 0x58823f
cmp dword [esi + 0x18], 0
jne 0x58823f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, 0x8000000
je 0x5881af
mov esi, dword [esi + 0x30]
test esi, esi
mov dword [esp + 0x2c], esi
je 0x5880f3
lea ebx, [ebx]
mov edx, dword [esi]
cmp edx, dword [esp + 0x28]
je 0x5880ef
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x5880e0
mov dword [esp + 0x2c], esi
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
mov dword [esp + 0x3c], eax
jg 0x588118
mov edi, ebx
call fcn.0054c1a0
test eax, eax
je 0x588118
mov eax, 1
jmp 0x588145
mov eax, dword [ebx + 0x14]
xor ecx, ecx
add dword [ebx + 0xc], 1
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x7f
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebx + 0x62], cl
mov eax, esi
mov esi, dword [ebx + 0x14]
test esi, esi
mov edi, dword [ebx]
je 0x588276
cmp byte [edi + 0x1e], 0
jne 0x588276
test eax, eax
jge 0x588166
mov eax, dword [ebx + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.0054c490
cmp dword [esp + 0x2c], 0
mov edi, dword [esp + 0xc]
mov dword [esi + 0x10], 0
jne 0x58819b
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
jmp 0x588243
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf6
add dword [eax + 0xc], 1
jmp 0x588243
test eax, 0x800000
jne 0x58822a
test byte [ebp + 0x18], 0x10
jne 0x58822a
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x18]
xor ecx, ecx
cmp byte [edx + 6], cl
setne cl
add ecx, 0x26
push ecx
mov ecx, dword [ebp + 8]
push edi
push eax
mov eax, esi
call fcn.0055cd70
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp byte [ecx + 6], 0
jne 0x58823f
cmp dword [esi + 8], 0x40
jge 0x58823f
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x58820f
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
add edx, 1
or esi, ecx
jne 0x588200
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
push edx
sub eax, 1
push ebx
mov ecx, 0xfffffff2
call fcn.0054c5d0
add esp, 8
jmp 0x588243
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push edi
call fcn.0054da90
add esp, 0x10
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x58827c
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.0057e2d0
add esp, 0x18
jmp 0x588361
mov edi, dword [esp + 0xc]
jmp 0x588243
test eax, 0xf0000
je 0x588361
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 8]
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.005719c0
mov edx, dword [esi + 0x14]
mov esi, dword [ebx + 0xc]
mov ecx, dword [edi + 0x14]
add esp, 8
cmp dword [ebx + 0x10], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], edx
jg 0x5882c7
mov edi, ebx
call fcn.0054c1a0
test eax, eax
je 0x5882c7
mov eax, 1
jmp 0x588301
mov ecx, dword [ebx + 0x14]
add dword [ebx + 0xc], 1
mov edx, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebx + 0x62], 0
mov eax, esi
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx]
xor esi, esi
cmp ecx, esi
je 0x58834f
cmp byte [edi + 0x1e], 0
jne 0x58834f
cmp eax, esi
jge 0x58831c
mov eax, dword [ebx + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.0054c490
mov eax, dword [esp + 0x44]
cmp eax, esi
mov edi, dword [esp + 0xc]
mov dword [ebx + 0x10], esi
jne 0x588346
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0
jmp 0x588361
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x588361
mov ecx, dword [esp + 0x44]
mov eax, 0xfffffff0
call fcn.0054c490
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
push edi
call fcn.0056c6d0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x588398
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 0x18]
add edx, 4
cmp dword [edx], esi
je 0x58841b
add ecx, 1
add edx, 4
cmp ecx, eax
jl 0x588386
xor eax, eax
xor edx, edx
add dword [esp + 0x10], 0x40
not eax
and dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
not edx
and dword [esp + 0x34], edx
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x587e4b
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
cmp byte [edx + 0x1e], 0
jne 0x587ede
xor esi, esi
or eax, 0xffffffff
or edx, 0xffffffff
cmp dword [esp + 0x24], esi
mov ebx, ecx
jle 0x588412
lea edi, [ebx + 0x48]
push edx
push eax
mov eax, dword [ebp + 0x18]
push eax
push esi
push ebx
call fcn.0057ef40
mov ecx, dword [edi]
add esi, 1
add esp, 0x14
add edi, 0x40
cmp esi, dword [esp + 0x24]
mov dword [ebx + 0x10], ecx
jl 0x5883f1
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.005c3500
jmp 0x58839c