Function at 0x487610
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x7c
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
push ebx
push ebp
mov eax, dword [ecx + 0xc]
push esi
mov dword [esp + 0x14], eax
mov ax, word [edx]
cmp ax, 0x40
push edi
jle 0x48764f
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.00468ab0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov esi, dword [ecx]
movsx eax, ax
shl eax, 6
add eax, 0x1e0
mov dword [esp + 0x20], esi
push eax
push esi
call fcn.0045a4c0
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x1e]
add esp, 8
test al, al
jne 0x487a95
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x90]
movsx ecx, word [ebp]
push edx
mov dword [esi + 0x1c], ecx
mov dword [esi], ebx
mov dword [esi + 0xc], ebp
call fcn.00473070
mov cl, byte [esp + 0xa4]
add esp, 4
test cl, 8
mov dword [esi + 0x18], eax
je 0x4876bc
mov eax, dword [esp + 0xa4]
jmp 0x4876bf
or eax, 0xffffffff
mov dword [esi + 8], eax
mov eax, dword [esi + 0x1c]
shl eax, 6
movzx cx, cl
lea edx, [eax + esi + 0x24]
mov word [esi + 4], cx
mov ecx, 0x41
xor eax, eax
lea edi, [edx + 0xb8]
mov dword [esi + 0x20], edx
rep stosd dword es:[edi], eax
lea eax, [edx + 0xb8]
mov dword [esp + 0x1c], edx
push eax
push ebx
push edx
call fcn.00487ff0
mov edi, dword [esp + 0xa4]
push edi
push ebx
call fcn.00487e60
mov edx, dword [esp + 0x30]
push 0x42
push edi
push edx
call fcn.00488020
add esp, 0x20
test edi, edi
je 0x48773e
cmp word [ebp], 0
je 0x48772e
push edi
call fcn.00487e50
add esp, 4
test eax, eax
je 0x48773e
mov eax, dword [esi + 0x18]
push 8
push eax
push edi
push ebx
call fcn.00475420
add esp, 0x10
xor esi, esi
cmp word [ebp], si
jle 0x48776d
mov ebx, dword [esp + 0x1c]
lea edi, [ebp + 0x20]
mov ecx, dword [edi]
lea eax, [ebx + 0xb8]
push ecx
push eax
call fcn.00488190
movsx edx, word [ebp]
add esp, 8
inc esi
add edi, 0x38
cmp esi, edx
jl 0x48774d
jmp 0x487771
mov ebx, dword [esp + 0x1c]
push ebx
push ebp
call fcn.004881b0
mov eax, dword [esp + 0x28]
add esp, 8
mov cl, byte [eax + 0x1e]
test cl, cl
jne 0x487a95
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
movsx edx, word [edx]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
xor eax, eax
lea edi, [ecx + 0x24]
cmp edx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], edi
jle 0x487a8a
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x6c]
mov esi, dword [esp + 0x94]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
lea ecx, [eax*8]
mov dword [esp + 0x7c], 0xa2879f2e
sub ecx, eax
cmp eax, edx
mov dword [esp + 0x80], 0x547d42ae
mov dword [esp + 0x28], eax
lea ebp, [esi + ecx*8 + 8]
jge 0x4879b3
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
shl eax, 6
lea ebx, [eax + edx + 0x60]
mov al, byte [ebp + 0x15]
mov ecx, dword [esp + 0x30]
and al, 0xa
neg al
sbb eax, eax
neg eax
test ecx, ecx
mov dword [esp + 0x3c], eax
je 0x487844
test eax, eax
jne 0x4879af
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [ecx + 0xb8]
push eax
call fcn.00488150
and eax, edi
and edx, esi
add esp, 8
or eax, edx
jne 0x48787d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x48798e
inc eax
mov dword [esp + 0x24], eax
jmp 0x48798e
mov eax, dword [ebp + 0xc]
test byte [eax + 0x22], 0x10
je 0x487911
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x487899
mov eax, dword [eax]
jmp 0x48789b
xor eax, eax
mov edx, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
mov edx, dword [esp + 0x1c]
push ebx
sete cl
push ecx
push eax
mov eax, dword [esp + 0x9c]
push esi
push edi
push ebp
push edx
push eax
call fcn.00489050
mov eax, dword [ebx]
add esp, 0x20
fstp qword [esp + 0x5c]
test eax, eax
mov dword [esp + 0x4c], 0x8000000
mov dword [esp + 0x54], eax
je 0x4878e6
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4878e6
mov dword [esp + 0x4c], 0x9000000
fld qword [0x5abf98]
fcomp qword [esp + 0x5c]
mov dword [esp + 0x50], 0
fnstsw ax
test ah, 1
je 0x487948
mov dword [esp + 0x5c], 0xa2879f2e
mov dword [esp + 0x60], 0x546d42ae
jmp 0x487948
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x487928
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x487928
mov eax, dword [eax]
jmp 0x48792a
xor eax, eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x98]
push esi
push edi
push ebp
push edx
push eax
call fcn.00489330
add esp, 0x1c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48795f
fld qword [esp + 0x5c]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x487986
mov ecx, 8
lea esi, [esp + 0x4c]
lea edi, [esp + 0x6c]
mov dword [esp + 0x30], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4879af
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x28]
inc eax
add ebx, 0x40
movsx ecx, word [edx]
add ebp, 0x38
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x487825
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
test eax, 0x1000000
je 0x4879cb
mov edx, dword [esp + 0x9c]
mov dword [edx], 0
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
and ecx, eax
mov ebp, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
and ebp, 0x70000
mov dword [edx], eax
mov dword [edx + 4], esi
mov esi, dword [esp + 0x74]
mov dword [edx + 8], esi
je 0x487a0b
mov eax, dword [esp + 0x90]
mov edx, dword [eax + 0x44]
mov dword [ecx + 0x14], edx
mov ecx, dword [eax + 0x44]
inc ecx
mov dword [eax + 0x44], ecx
jmp 0x487a12
mov dword [ecx + 0x14], 0xffffffff
mov edi, dword [esp + 0x94]
mov edx, dword [esp + 0x1c]
lea eax, [ebx*8]
sub eax, ebx
mov ecx, dword [edi + eax*8 + 0x20]
lea esi, [edi + eax*8]
lea eax, [edx + 0xb8]
push ecx
push eax
call fcn.00488150
mov ecx, dword [esp + 0x4c]
add esp, 8
not eax
and ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
not edx
mov byte [eax + 0x28], bl
mov esi, dword [esi + 0x3c]
and ecx, edx
test esi, esi
mov dword [esp + 0x48], ecx
je 0x487a67
test ebp, ebp
je 0x487ab1
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
add edx, 0x40
inc eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], eax
movsx edx, word [edi]
cmp eax, edx
jl 0x4877c4
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x487acb
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.0048b000
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov ecx, dword [esi]
mov edx, dword [esp + 0x90]
push ecx
push str.cannot_use_index:__s
push edx
call fcn.00468ab0
add esp, 0xc
jmp 0x487a95
mov eax, dword [esp + 0x38]
and eax, 0x4000000
je 0x487ae7
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x487ae7
mov dword [ecx], 0
test byte [esp + 0xa0], 4
je 0x487b08
test eax, eax
je 0x487b08
mov eax, dword [edi]
mov ebx, dword [esp + 0x10]
and eax, 0xff7fffff
mov byte [ebx + 6], 1
mov dword [edi], eax
jmp 0x487b0c
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
push 0xffffffffffffffff
push eax
call fcn.0047afa0
mov ebp, dword [esp + 0x9c]
add esp, 8
mov dword [esp + 0x14], 0
cmp word [ebp], 0
jle 0x487df7
mov ebx, dword [esp + 0x20]
jmp 0x487b49
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp byte [ecx + 0x168], 2
jne 0x487c47
xor eax, eax
mov al, byte [edi + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + edx*8 + 0xc]
push eax
push str.TABLE__s
lea esi, [ebp + edx*8 + 8]
push ebx
call fcn.0045cc80
mov esi, dword [esi + 8]
add esp, 0xc
test esi, esi
je 0x487b9a
push esi
push eax
push str._s_AS__s
push eax
push ebx
call fcn.0046cc40
add esp, 0x14
mov ecx, dword [edi]
test ecx, 0x70000
je 0x487bbc
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push edx
push eax
push str._s_WITH_INDEX__s
push eax
push ebx
call fcn.0046cc40
add esp, 0x14
jmp 0x487c10
test ecx, 0x10000000
je 0x487bd6
push eax
push str._s_VIA_MULTI_INDEX_UNION
push eax
push ebx
call fcn.0046cc40
add esp, 0x10
jmp 0x487c10
test ch, 0x30
je 0x487bed
push eax
push str._s_USING_PRIMARY_KEY
push eax
push ebx
call fcn.0046cc40
add esp, 0x10
jmp 0x487c10
test ecx, 0x8000000
je 0x487c10
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
push edx
push ecx
push eax
push str._s_VIRTUAL_TABLE_INDEX__d:_s
push eax
push ebx
call fcn.0046cc40
add esp, 0x18
test dword [edi], 0x1000000
je 0x487c28
push eax
push str._s_ORDER_BY
push eax
push ebx
call fcn.0046cc40
add esp, 0x10
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dl, byte [edi + 0x28]
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x1c]
push 0
push edx
push eax
push 0x72
push ecx
call fcn.00471f70
add esp, 0x1c
xor eax, eax
mov al, byte [edi + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x94]
mov esi, dword [eax + edx*8 + 0x14]
lea ebp, [eax + edx*8 + 8]
mov edx, dword [esp + 0x90]
mov ecx, dword [esi + 0x48]
mov eax, dword [edx]
push ecx
push eax
call fcn.0046d270
mov ebx, eax
mov al, byte [esi + 0x22]
add esp, 8
mov dword [esp + 0x38], ebx
test al, 2
jne 0x487dd3
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x487dd3
mov eax, dword [edi]
test eax, 0x8000000
je 0x487cc1
mov ecx, dword [esi + 0x3c]
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x18]
push 0xfffffffffffffff6
push ecx
push 0
push 0
push edx
push 0x21
push eax
call fcn.00471f70
add esp, 0x1c
jmp 0x487d6a
test eax, 0x800000
jne 0x487d4f
test byte [esp + 0xa0], 0x10
jne 0x487d4f
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x18]
mov dl, byte [ecx + 6]
mov ecx, dword [esp + 0x90]
neg dl
sbb edx, edx
and edx, 0xfffffffc
add edx, 0xe
push edx
push esi
push ebx
push eax
push ecx
call fcn.0047b870
mov edx, dword [esp + 0x24]
add esp, 0x14
mov al, byte [edx + 6]
test al, al
jne 0x487d6a
cmp dword [esi + 0xc], 0x40
jge 0x487d6a
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x2c]
mov ecx, eax
xor esi, esi
or ecx, edx
je 0x487d2e
mov ecx, 1
call fcn.00491700
mov ecx, eax
inc esi
or ecx, edx
jne 0x487d1d
mov edx, dword [esp + 0x18]
push esi
push edx
call fcn.00454030
add esp, 4
sub eax, 2
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00468df0
add esp, 0xc
jmp 0x487d6a
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x90]
push ecx
push 0
push edx
push ebx
push eax
call fcn.00477930
add esp, 0x14
mov eax, dword [edi]
mov ecx, dword [ebp + 0x18]
test eax, 0x70000
mov dword [edi + 0x10], ecx
je 0x487dc2
mov esi, dword [edi + 8]
mov edx, dword [esp + 0x90]
push esi
push edx
call fcn.0047b2a0
mov ecx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [esi + 4]
mov ebx, dword [edi + 0x14]
inc eax
push eax
push 0
push 0x66
push ecx
call fcn.00472c40
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x30]
push 0xfffffffffffffff0
push ebp
push edx
push eax
push ebx
push 0xe
push ecx
call fcn.00471f70
mov ebx, dword [esp + 0x6c]
add esp, 0x34
mov edx, dword [esp + 0x90]
push ebx
push edx
call fcn.0047afa0
add esp, 8
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x40
movsx edx, word [ecx]
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x487b3e
mov ebx, dword [esp + 0x10]
mov ebp, ecx
mov eax, dword [esp + 0x18]
push eax
call fcn.00454030
mov dword [ebx + 0x10], eax
xor esi, esi
add esp, 4
or eax, 0xffffffff
or edx, 0xffffffff
cmp word [ebp], si
jle 0x487e3d
lea edi, [ebx + 0x44]
mov ecx, dword [esp + 0xa0]
push edx
push eax
push ecx
push esi
push ebx
call fcn.00489f90
mov ecx, dword [edi]
add esp, 0x14
mov dword [ebx + 0x14], ecx
inc esi
movsx ecx, word [ebp]
add edi, 0x40
cmp esi, ecx
jl 0x487e18
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x7c
ret