Function at 0x490060
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 0x49009f
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.00471510
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.00462f20
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x1e]
add esp, 8
test al, al
jne 0x4904e5
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.0047bad0
mov cl, byte [esp + 0xa4]
add esp, 4
test cl, 8
mov dword [esi + 0x18], eax
je 0x49010c
mov eax, dword [esp + 0xa4]
jmp 0x49010f
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.00490a40
mov edi, dword [esp + 0xa4]
push edi
push ebx
call fcn.004908b0
mov edx, dword [esp + 0x30]
push 0x42
push edi
push edx
call fcn.00490a70
add esp, 0x20
test edi, edi
je 0x49018e
cmp word [ebp], 0
je 0x49017e
push edi
call fcn.004908a0
add esp, 4
test eax, eax
je 0x49018e
mov eax, dword [esi + 0x18]
push 8
push eax
push edi
push ebx
call fcn.0047de80
add esp, 0x10
xor esi, esi
cmp word [ebp], si
jle 0x4901bd
mov ebx, dword [esp + 0x1c]
lea edi, [ebp + 0x20]
mov ecx, dword [edi]
lea eax, [ebx + 0xb8]
push ecx
push eax
call fcn.00490be0
movsx edx, word [ebp]
add esp, 8
inc esi
add edi, 0x38
cmp esi, edx
jl 0x49019d
jmp 0x4901c1
mov ebx, dword [esp + 0x1c]
push ebx
push ebp
call fcn.00490c00
mov eax, dword [esp + 0x28]
add esp, 8
mov cl, byte [eax + 0x1e]
test cl, cl
jne 0x4904e5
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 0x4904da
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 0x490403
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 0x490294
test eax, eax
jne 0x4903ff
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [ecx + 0xb8]
push eax
call fcn.00490ba0
and eax, edi
and edx, esi
add esp, 8
or eax, edx
jne 0x4902cd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x4903de
inc eax
mov dword [esp + 0x24], eax
jmp 0x4903de
mov eax, dword [ebp + 0xc]
test byte [eax + 0x22], 0x10
je 0x490361
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4902e9
mov eax, dword [eax]
jmp 0x4902eb
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.00491aa0
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 0x490336
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x490336
mov dword [esp + 0x4c], 0x9000000
fld qword [0x4c70d0]
fcomp qword [esp + 0x5c]
mov dword [esp + 0x50], 0
fnstsw ax
test ah, 1
je 0x490398
mov dword [esp + 0x5c], 0xa2879f2e
mov dword [esp + 0x60], 0x546d42ae
jmp 0x490398
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x490378
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x490378
mov eax, dword [eax]
jmp 0x49037a
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.00491d80
add esp, 0x1c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4903af
fld qword [esp + 0x5c]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x4903d6
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 0x4903ff
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 0x490275
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
test eax, 0x1000000
je 0x49041b
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 0x49045b
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 0x490462
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.00490ba0
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 0x4904b7
test ebp, ebp
je 0x490501
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 0x490214
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x49051b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.00493a50
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.00471510
add esp, 0xc
jmp 0x4904e5
mov eax, dword [esp + 0x38]
and eax, 0x4000000
je 0x490537
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x490537
mov dword [ecx], 0
test byte [esp + 0xa0], 4
je 0x490558
test eax, eax
je 0x490558
mov eax, dword [edi]
mov ebx, dword [esp + 0x10]
and eax, 0xff7fffff
mov byte [ebx + 6], 1
mov dword [edi], eax
jmp 0x49055c
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
push 0xffffffffffffffff
push eax
call fcn.00483a00
mov ebp, dword [esp + 0x9c]
add esp, 8
mov dword [esp + 0x14], 0
cmp word [ebp], 0
jle 0x490847
mov ebx, dword [esp + 0x20]
jmp 0x490599
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp byte [ecx + 0x168], 2
jne 0x490697
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.004656e0
mov esi, dword [esi + 8]
add esp, 0xc
test esi, esi
je 0x4905ea
push esi
push eax
push str._s_AS__s
push eax
push ebx
call fcn.004756a0
add esp, 0x14
mov ecx, dword [edi]
test ecx, 0x70000
je 0x49060c
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.004756a0
add esp, 0x14
jmp 0x490660
test ecx, 0x10000000
je 0x490626
push eax
push str._s_VIA_MULTI_INDEX_UNION
push eax
push ebx
call fcn.004756a0
add esp, 0x10
jmp 0x490660
test ch, 0x30
je 0x49063d
push eax
push str._s_USING_PRIMARY_KEY
push eax
push ebx
call fcn.004756a0
add esp, 0x10
jmp 0x490660
test ecx, 0x8000000
je 0x490660
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.004756a0
add esp, 0x18
test dword [edi], 0x1000000
je 0x490678
push eax
push str._s_ORDER_BY
push eax
push ebx
call fcn.004756a0
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.0047a9d0
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.00475cd0
mov ebx, eax
mov al, byte [esi + 0x22]
add esp, 8
mov dword [esp + 0x38], ebx
test al, 2
jne 0x490823
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x490823
mov eax, dword [edi]
test eax, 0x8000000
je 0x490711
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.0047a9d0
add esp, 0x1c
jmp 0x4907ba
test eax, 0x800000
jne 0x49079f
test byte [esp + 0xa0], 0x10
jne 0x49079f
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.004842d0
mov edx, dword [esp + 0x24]
add esp, 0x14
mov al, byte [edx + 6]
test al, al
jne 0x4907ba
cmp dword [esi + 0xc], 0x40
jge 0x4907ba
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x2c]
mov ecx, eax
xor esi, esi
or ecx, edx
je 0x49077e
mov ecx, 1
call fcn.0049a080
mov ecx, eax
inc esi
or ecx, edx
jne 0x49076d
mov edx, dword [esp + 0x18]
push esi
push edx
call fcn.0045caa0
add esp, 4
sub eax, 2
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00471850
add esp, 0xc
jmp 0x4907ba
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.00480390
add esp, 0x14
mov eax, dword [edi]
mov ecx, dword [ebp + 0x18]
test eax, 0x70000
mov dword [edi + 0x10], ecx
je 0x490812
mov esi, dword [edi + 8]
mov edx, dword [esp + 0x90]
push esi
push edx
call fcn.00483d00
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.0047b6a0
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.0047a9d0
mov ebx, dword [esp + 0x6c]
add esp, 0x34
mov edx, dword [esp + 0x90]
push ebx
push edx
call fcn.00483a00
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 0x49058e
mov ebx, dword [esp + 0x10]
mov ebp, ecx
mov eax, dword [esp + 0x18]
push eax
call fcn.0045caa0
mov dword [ebx + 0x10], eax
xor esi, esi
add esp, 4
or eax, 0xffffffff
or edx, 0xffffffff
cmp word [ebp], si
jle 0x49088d
lea edi, [ebx + 0x44]
mov ecx, dword [esp + 0xa0]
push edx
push eax
push ecx
push esi
push ebx
call fcn.004929e0
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 0x490868
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x7c
ret